`
SilverRing
  • 浏览: 71044 次
社区版块
存档分类
最新评论
文章列表
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 ...
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 ...
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 ...
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 ...
copy and overwrite the default problematic framework_rb.swc and rpc_rb.swc under WEB-INF\locale\en_US
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 ...
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 ...
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 ...
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 ...
tar -cvzpf filename.tar.gz /path/foldername
To chmod the contents and subdirectories of a directory, append -R after the chmod command. Beware of the upper case.

[Mysql] dump blob

By appending "--hex-blob" after mysqldump.
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 ...
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) ...
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 ...
Global site tag (gtag.js) - Google Analytics