首页上一页 1 下一页尾页 1 条记录 1/1页
欣想电子商城问题
发表在Java图书答疑
2008-12-10
是否精华
是
否
版块置顶:
是
否
Hibernate operation: could not insert: [com.lzw.model.TbMember]; uncategorized SQLException for SQL [insert into db_shop.dbo.tb_member (userName, trueName, passWord, city, address, postcode, cardNO, cardType, grade, Amount, tel, email, freeze) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) select scope_identity()]; SQL state [HY000]; error code [515]; [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]无法将 NULL 值插入列 'ID',表 'db_shop.dbo.tb_member';该列不允许空值。INSERT 失败。; nested exception is java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]无法将 NULL 值插入列 'ID',表 'db_shop.dbo.tb_member';该列不允许空值。INSERT 失败。