- 浏览: 73432 次
-
最新评论
-
lanliying:
这个问题要什么解决?
[Flex4] Could not resolve <mx:X> to a component implementation -
DavyLee:
简直扯淡,get和load都报同样的错!
[Hibernate] one cause of LazyInitializationException -
SilverRing:
to unzip, use this
tar -zxvf fi ...
[linux] tar and gzip a folder -
SilverRing:
It happens in Tomcat, not JBoss ...
[Log4j] listener order matters -
weifly:
这样写也会有bug:from Ship s where s.n ...
[Hibernate 3] bug about string "call"
文章列表
A normal index like the one below won't get created automatically if hibernate.hbm2ddl.auto is set to update.
<property
name="idA"
index="idx_id_a"
not-null="true"
type="long"
column="..."/>
If the property i ...
- 2009-09-30 16:55
- 浏览 872
- 评论(0)
I ran into this error when I was trying to embed an swf into one of my classes like this:
[Embed(source='assets/aaa.swf',symbol='bbb')]
private var bbb:Class;
It gave no error in Flex Builder, but when I was about to build the application using standalone compiler and deploy to product ...
- 2009-09-23 10:33
- 浏览 2140
- 评论(0)
The AIR runtime does not allow more than one instance of a given AIR app to run on a single machine. Instead, a second invocation of the same app sends an event to the running app instead of starting a new instance.
To resolve this limitation, you create multiple debug configurations for the AIR pr ...
- 2009-09-05 20:43
- 浏览 750
- 评论(0)
Once there's a string "call" involved in an hql, hibernate will throw an exception like the one below:
HibernateSystemException: ordinal parameter mismatch
This is an open bug reported here:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1423
A simple workaround is to mak ...
- 2009-09-01 18:56
- 浏览 775
- 评论(1)
copy and overwrite the default problematic framework_rb.swc and rpc_rb.swc under WEB-INF\locale\en_US
- 2009-08-25 17:55
- 浏览 1419
- 评论(0)
Solution found here: http://viconflex.blogspot.com/2008/04/invalid-embed-directive-in-stylesheet.html
What ended up being the root cause of our problem is that in several places in the application we were referencing image assets directly in our assets folder, i.e. /assets/delete.png, which is often ...
- 2009-08-12 14:31
- 浏览 2648
- 评论(0)
The order of the two listeners ContextLoaderListener and Log4jConfigListener in web.xml does matter. Log4jConfigListener should be in front of ContextLoaderListener. Otherwise, the start-up log traces aren't visible and the error below shows up.
log4j:WARN Please initialize the log4j system proper ...
- 2009-03-26 17:14
- 浏览 1143
- 评论(1)
To set up the logging priority level, put an element like the one below inside <log4j:configuration>
<category name='org.springframework'>
<priority value='INFO'/>
</category>
If the lower level logging info is still output after the category priority i ...
- 2009-02-27 16:18
- 浏览 1109
- 评论(0)
RandomAccess is a marker interface. It doesn't define methods; instead, it identifies a class as having a particular capability.
According to the online document:
The primary purpose of this interface is to allow generic algorithms
to alter their behavior to provide good performance when applie ...
- 2008-12-19 13:16
- 浏览 1022
- 评论(0)
tar -cvzpf filename.tar.gz /path/foldername
- 2008-11-12 20:21
- 浏览 834
- 评论(1)
To chmod the contents and subdirectories of a directory, append -R after the chmod command. Beware of the upper case.
- 2008-11-06 17:40
- 浏览 699
- 评论(0)
By appending "--hex-blob" after mysqldump.
- 2008-11-05 18:19
- 浏览 778
- 评论(0)
Sometimes when we try to synchronize with the cvs repository, we hit an error like this:
Resource is out of sync with the file system: filename
It's due to the changes outside can't be recognized by Eclipse. To fix this, we simply need to refresh the project (right click and select refresh)
To ach ...
- 2008-11-04 11:26
- 浏览 1282
- 评论(0)
We use the command below to find out the current system time:
date
If it's incorrect and we wish to change it, we can issue a command below:
date nnddhhmm[[cc]yy][.ss]
where
nn = month of the year (01 to 12)
dd = day of the month (01 to 31)
hh = hour of the day (00 to 23)
...
- 2008-11-04 11:09
- 浏览 952
- 评论(0)
Normally we log in a Linux machine using ssh. And when we logs out, those jobs started by the shell will get killed if they're not deamon or running at backend. nohup is a useful tool to keep the job running at backend to prevent this "auto killed" behavior from happening.
Here's how to us ...
- 2008-11-04 10:51
- 浏览 1091
- 评论(1)