integer « Key « JPA Q&A





1. Integer primary key configuration problems    forum.hibernate.org

Hi there, I am running into a problem when trying to configure a hibernate mapping of a POJO integer key to mysql integer key. If I try to configure it using type java.lang.String I don't seem to have any problems. The key is auto-generated (looks like a GUID to me), but it's a String and I want it to be an ...