Bookmark Topic Watch Topic
  • New Topic

clarify abt CURD by using hibernate  RSS feed

 
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.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!