![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hibernate
左眼826
这个作者很懒,什么都没留下…
展开
-
使用hibernate自动在Mysql数据库生成数据表时没报错,但是也没生成成功
在hibernate.cfg.xml文件中将这个<property name="hibernate.hbm2ddl.auto" >update</property>改成:<property name="hbm2ddl.auto" >update</property>或者改成:<property name="hibernate.h...原创 2020-04-11 21:24:44 · 263 阅读 · 0 评论 -
测试项目登录时报错Message query did not return a unique result: 2
欢迎加入JavaWeb开发交流群:群号:1062758224在测试项目,登录时报错:Type Exception ReportMessage query did not return a unique result: 2Description The server encountered an unexpected condition that prevented it from fulf...原创 2020-03-15 11:43:04 · 628 阅读 · 0 评论 -
用JBPM从数据库中查询数据时报错No row with the given identifier exists: [com.oa.d_processvariable.Form#1]
欢迎加入JavaWeb开发交流群:群号:1062758224使用hibernate从数据库中查询数据时报错:org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.oa.d_processvariable.Form#1]at org.hibernate.impl.SessionF...原创 2020-03-10 16:29:47 · 274 阅读 · 0 评论 -
hibernate自动建表报错ERROR SchemaUpdate:212 - Unsuccessful: create table office_form (id bigint not null a
hibernate自动建表报错:13:42:44,398 ERROR SchemaUpdate:212 - Unsuccessful: create table office_form (id bigint not null auto_increment, title varchar(255), primary key (id)) type=InnoDB13:42:44,430 ERROR S...原创 2020-03-10 13:50:22 · 606 阅读 · 0 评论