首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

Hibernate 一对多札记

2012-08-09 
Hibernate 一对多笔记hibernate用了很久,但总是稀里糊涂,是时候总结下了,今天做了个例子,还是遇到了不少问

Hibernate 一对多笔记

hibernate用了很久,但总是稀里糊涂,是时候总结下了,今天做了个例子,还是遇到了不少问题

?

Hibernate: insert into Person (name, age) values (?, ?)Hibernate: update Phone set person_id=? where id=?2011-10-28 14:37:55,339 ERROR org.hibernate.jdbc.AbstractBatcher.doExecuteBatch:51 - Exception executing batch: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
?

?

?

?

?

?

热点排行