信息: Not binding factory to JNDI, no JNDI name configured
org.hibernate.impl.SessionFactoryImpl@d81784
Hibernate:
insert
into
order (name
, cost)
values
(?, ?)
2011-12-5 18:15:39 org.hibernate.util.JDBCExceptionReporter logExceptions
警告: SQL Error: 1064, SQLState: 42000
2011-12-5 18:15:39 org.hibernate.util.JDBCExceptionReporter logExceptions
严重: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order (name, cost) values ('22', 30.0)' at line 1
org.hibernate.impl.SessionFactoryImpl@d81784
Hibernate:
insert
into
order (name
, cost)
values
(?, ?)
2011-12-5 18:15:39 org.hibernate.util.JDBCExceptionReporter logExceptions
警告: SQL Error: 1064, SQLState: 42000
2011-12-5 18:15:39 org.hibernate.util.JDBCExceptionReporter logExceptions
严重: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order (name, cost) values ('22', 30.0)' at line 1
解决方案 »
- eWebEditor问题求助
- 关系型数据库为什么不能直接实现多对多?
- jsp中怎么弹出文件保存对话框?
- 如何用jsp把oracle数据库中字段类型为日期型数据值提取出来,高手帮忙,小妹初学jsp,大家帮帮忙啊
- 不好意思,提个小问题
- 请问在web.xml中,如何配置Filter?
- 问个技术还要去水源嘛?lucene全文搜索,这样的方案可以不?
- JaveWeb用Applet加载Dll文件如何实现?
- 请教如何在jsp中使用activeX控件,是否activerX在jsp中都能使用?
- 请问:在一个新打开的浏览页面中,如何把菜单项中的‘另存为’给封了!
- Jsp获取MSSQL信息
- org.apache.jasper.JasperException:exception occurred processing line 35
这俩个单引号可疑,检查写的sql语句格式。