mysql修改数据库引擎
在MySql中更换数据库引擎,使用:alter table myTable engine=InnoDB
mysql外键类型错误
Cannot find an index in the referenced table where the referenced columns appear as the first columns, or column types in the table and the referenced table do not match for constraint.
来源:(http://www.it3f.com/article/sort05/sort032/info-1479.html)
java.sql.timesstamp
对于数据表中的timestamp,可以使用java.sql.timestamp字段与之相对应
netbeans语言修改
在Linux下,新版的NetBeans 6.7的中文界面可以简直惨不忍睹。我也懒得折腾Java的界面字体啊啥的,所以找了个方法,把界面改成英文的。
找到NetBeans的安装目录/etc/netbeans.conf,修改netbeans_default_options=行,在引号里加上--locale en:US。
如果启动后界面上还是有中文(比如说侧栏),删掉~/.netbeans。
Windows版也可如法炮制。只不过,家目录是C:/Document and Settings/<your name>;
好了,整个世界清净了!
TMD SqlMapConfig.xml