i have a table with id field type BIGINT in MySQL
in hibernate object, i use java Long type for this field
but when run program, it throw exception:
Expected: class java.lang.Long, got class java.lang.Integer
how to map MySQL BINGINT datatype in hibernate ?