问题如下:
Exception in thread "main" javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not insert: [entityBean.Customer_duobiaoyingshe]; nested exception is: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not insert: [entityBean.Customer_duobiaoyingshe]
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not insert: [entityBean.Customer_duobiaoyingshe]
哪位高人请不吝赐教!
Exception in thread "main" javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not insert: [entityBean.Customer_duobiaoyingshe]; nested exception is: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not insert: [entityBean.Customer_duobiaoyingshe]
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not insert: [entityBean.Customer_duobiaoyingshe]
哪位高人请不吝赐教!
解决方案 »
- Jboss + Jpa多数据库本地事务的问题
- web.xml 文件里怎么添加注释?
- struts 2.1.6 ---- jsonplugin0.33 的问题
- jsp 分页问题
- 一个小问题
- jsp登录界面的问题
- 解析一个xml文件时报错:org.xml.sax.SAXParseException: Invalid encoding name "GBK".请问高手这是什么原因?
- 在ECLIPSE中编写TOMCAT程序,出现如下错误!
- 请问j2ee sdk 1.4中如何配置 sql server2000的数据源?
- tomcat的问题,高手救我,1000分都行
- ServletContext问题
- hibernate 3.1 sesssion.load方法问题
持久化错误,仔细检查下持久化配置
duobiaoyingshe)错误由变成:Exception in thread "main" javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: entityBean.Customer_duobiaoyingshe; nested exception is: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: entityBean.Customer_duobiaoyingshe
javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: entityBean.Customer_duobiaoyingshe
这是怎么回事呢