File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Amit Jain
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic