Hi,
We are using myeclipse 5.1 under eclipse 3.3. We are getting following exception. we are using spring/Hibernate capabilities of my eclipse.
Hibernate: insert into METADATA (CONFIG_VALUE, CONFIG_NAME, CONFIG_TYPE) values (?, ?, ?)
org.springframework.dao.DataIntegrityViolationException: Hibernate operation: Could not execute JDBC batch update; SQL [insert into METADATA (CONFIG_VALUE, CONFIG_NAME, CONFIG_TYPE) values (?, ?, ?)]; ORA-00001: unique constraint (ACCESS_POINT_14.PK_METADATA) violated
; nested exception is java.sql.BatchUpdateException: ORA-00001: unique constraint (ACCESS_POINT_14.PK_METADATA) violated.
what is the exception API we should use to display to the end user what data we are trying to insert in data that has violated “ORA-00001: unique constraint (ACCESS_POINT_14.PK_METADATA) violated”.
Can you get some sample code that would be appreciated.
thanks,
Sreedhar.