![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibernate
非洲野生猿
这个作者很懒,什么都没留下…
展开
-
hibernate.cfg.xml文件配置标签详解
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> root root原创 2017-05-23 09:07:30 · 736 阅读 · 1 评论 -
hibernate映射文件标签详解
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN""http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <!-- class代表持久化类 name持久化类的全名 table 持久化类对应的表原创 2017-05-23 09:16:59 · 527 阅读 · 0 评论 -
Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
不注意的话,还真的有点无所适从,Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1这个异常是由于主键设置为自增长,而在我们插入记录的时候设置了ID的值导致的原创 2017-05-29 07:15:06 · 225 阅读 · 0 评论