【J2EE】
R3lish
Android开发
展开
-
【J2EE】/hibernate.cfg.xml not found
虽然已经把hibernate的配置写进beans.xml里了。可惜不能识别,就报了这个错。最后又把hibernate.cfg.xml补回来,就没问题了。原创 2016-06-28 19:08:37 · 757 阅读 · 0 评论 -
【J2EE】org.hibernate.exception.SQLGrammarException: could not execute query错误
如果SQL语句没问题的话,极有可能是User.hbm.xml的问题。原创 2016-06-28 19:05:31 · 1020 阅读 · 0 评论 -
MYSQL、SQLite字段自增长
MySQL中使用自增长:create table tableName (id unsigned int primary key auto_increment not null);auto_increment就是自增长的属性SQLite中使用自增长:create table tableName (id integer primary key);inte原创 2015-11-21 17:42:08 · 497 阅读 · 0 评论 -
【J2EE】MySQL导入/出数据库及表数据
MySQL导出数据库及表数据 mysqldump -uroot dbName>D:\db.sql原创 2016-07-03 16:26:54 · 612 阅读 · 0 评论