wood burning stoves*
The moose likes Object Relational Mapping and the fly likes org.hibernate.exception.DataEx­ception: Could not execute JDBC batch update Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "org.hibernate.exception.DataEx­ception: Could not execute JDBC batch update" Watch "org.hibernate.exception.DataEx­ception: Could not execute JDBC batch update" New topic
Author

org.hibernate.exception.DataEx­ception: Could not execute JDBC batch update

Amit Jain
Greenhorn

Joined: Dec 05, 2008
Posts: 5
Hi All,
I have a problem with Hibernate. I am getting below exception while inserting/adding row in table named as "apss"

Two classes - MemberVO and ApssVO have One-To-Many relation. When persisting a Apss with memberVO, Hibernate generates
exception. Unfortunately, I cannot spot why and hope for Your assistance.

Exception:


ApssDAOImpl.java


ApssVO.java


MemberVO.java


Table "apss"


Table "member"


apss.hbm.xml


member.hbm.xml


applicationContext.xml


Thanks & regards,
Amit Jain
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.hibernate.exception.DataEx­ception: Could not execute JDBC batch update
 
Similar Threads
Hiberante transaction in Spring
Hibernate, Spring and H2
Spring - Hiber. Transaction is not working...
unsatisfied Dependancy exception
NPE at getHibernateTemplate( )