This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
Spring - Hiber. Transaction is not working...
NPE at getHibernateTemplate( )
Hiberante transaction in Spring
Hibernate, Spring and H2
unsatisfied Dependancy exception