![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibernate
yzbczq
这个作者很懒,什么都没留下…
展开
-
Batch update returned unexpected row count from update [0]; actual row count: 0;
原文地址:http://hi.baidu.com/shirdrn/blog/item/adec1e82d067ddb86c81191c.html 不注意的话,还真的有点无所适从,Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1这个异常是由于主键设置为自增长,而在...原创 2009-09-14 03:59:22 · 128 阅读 · 0 评论 -
初学hibernate3(一)
使用myeclipse 建立 hibernate工程 编辑器: myeclipse 6.5 数据库: sqlserver2005 一. 建立数据库 附上建库建表语句 SQL语句 create database hiberTest --先 执行上一句,在执行下边的.否则会找不到数据库 use hiberTest create table student ( id...2009-07-22 19:30:55 · 71 阅读 · 0 评论