出错提示:23:12:33,828 DEBUG JDBCTransaction:41 - current autocommit status:false
23:12:33,828 DEBUG IncrementGenerator:63 - fetching initial value: select max(Id
) from "class"
23:12:33,921 DEBUG JDBCExceptionReporter:49 - Could not save object
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your S
QL syntax; check the manual that corresponds to your MySQL server version for th
e right syntax to use near '"class"' at line 1
而我以经设置方言为mysql
class表的id字段,采用hibernate管理自增
它居然会这样查询,,晕!
23:12:33,828 DEBUG IncrementGenerator:63 - fetching initial value: select max(Id
) from "class"
23:12:33,921 DEBUG JDBCExceptionReporter:49 - Could not save object
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your S
QL syntax; check the manual that corresponds to your MySQL server version for th
e right syntax to use near '"class"' at line 1
而我以经设置方言为mysql
class表的id字段,采用hibernate管理自增
它居然会这样查询,,晕!
解决方案 »
- extjs 分页
- The requested resource (/DBTest/test.jsp) is not available.
- 求助jsp+javaBean!~~~
- 救命啊?请高手做过ActiveX插件方面的 高手救救 我啊!!!!!!!!
- ajax自动完成
- 取随机数的问题?
- 解释一下它的意思:defaultlogon.aspx?ReturnUrl=%2fDefault.aspx
- 新手,问个基础的问题!
- javabean支持动态的二位数组吗?
- 有关request.setAttribute()的用法的问题
- 如何在RESIN+window2003里配置多个站点,
- java读取网页链接,下载的源代码如果遇到中文有些中文是乱码,请参阅如下程序
select max(Id
) from "class"
) from "class"这是你的HQL语句??不是hibernate怪,你的语句很奇怪