org.hibernate.HibernateException: identifier of an instance of org.cometd.hibernate.User altered from 12 to 3
in fact, my user table
user
In my case, the PK Field in hbm.xml was of type "integer" but in bean code it was long.
long