qq_36696855
2017-04-20 06:40spring+hibernate操作数据库,可以查询数据,但是不能添加数据
10! 2017-04-20 14:10:46,066 [main] DEBUG [org.hibernate.engine.spi.ActionQueue] - Executing identity-insert immediately
2017-04-20 14:10:46,080 [main] DEBUG [org.hibernate.SQL] - insert into t_user2 (password, user_name) values (?, ?)
Hibernate: insert into t_user2 (password, user_name) values (?, ?)
2017-04-20 14:10:46,121 [main] DEBUG [org.hibernate.resource.jdbc.internal.ResourceRegistryStandardImpl] - HHH000387: ResultSet's statement was not registered
2017-04-20 14:10:46,124 [main] DEBUG [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] - could not insert: [com.lk.domain.User] [insert into t_user2 (password, user_name) values (?, ?)]
java.sql.SQLException: Invalid value for getInt() - '��
- 点赞
- 回答
- 收藏
- 复制链接分享
7条回答
为你推荐
- springboot jpa生成sql语句时间格式不正确?
- spring
- java
- 2个回答
- spring security cas单点登录拒绝访问
- spring
- cas
- 单点登录
- security
- 0个回答
- 为什么我用hibernaetemplate.delete方法无法删除数据库中的数据
- spring
- 0个回答
- spring+hibernate 在oracle经常出现未提交的事务
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 0个回答
- spring2.5.6 hibernate3.3.2 annotation无法持久化entity
- 企业应用
- 0个回答
换一换