Friday, March 22, 2013

Could not execute JDBC batch update



org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update

Problem with key violation in record inserting . please carefully  check the error in detail message .





Wednesday, March 20, 2013

org.hibernate.MappingException: Repeated column in mapping for entity:


org.hibernate.MappingException: Repeated column in mapping for entity: 

com.km.coreirm.server.vo.InspectionSectionVO column: inspectionId (should be mapped with insert="false" update="false")

Pay ure attention to (should be mapped with insert="false" update="false") and map like this
 

Could not load an entity

org.hibernate.exception.SQLGrammarException: could not load an entity:

Problem is probably with the naming mapping with table , please check the "@Entity" and @Table(name="Table Name here as it is in the table") annotation.






·         
·