文章列表
Hibernate happily maps SQL bigint identity columns to java.math.BigInteger but then bombs when you try to generate values for this identity, claiming:
org.hibernate.id.IdentifierGenerationException: this id generator generates long, integer, short or string
The solution to this discrepancy is to de ...