ConstraintViolationException: Could not execute JDBC batch update




Asked on May 18, 2013
Hi
I am new to hibernate and got below exception,  any clue?
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:179) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)


Replied on May 18, 2013
It seems that you are entering duplicate entry in primary column.

Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us