This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
    Bookmark Topic Watch Topic
  • New Topic

clarify abt CURD by using hibernate

 
shrida bhanutejayenduri
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am using the CURD on <property name="hibernate.hbm2ddl.auto">update</property> this statement.But for other DML statements it is throwing the errors. Hibernate: insert into STUDENT_MST (STUDENT_NAME , MARKS, STUDENT_ID ) values (?, ?, ?)
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update.

Anybody clarify this.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
Locking this thread; the identical one has a much better subject line.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!