Hibernate mapping error

org.hibernate.type.IntegerType.set(IntegerType.java:39)

Let say you declare “long” as your variable data type in your class file, but you put type =”int” in hibernate mapping file, above exception will throw.
so, be careful when mapping your hibernate xml file.

 

dicksonkho

 

2 thoughts on “Hibernate mapping error

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.