pjcrump wrote:
Trying to put together a quick test of Hibernate - working w/ latest version of Hibernate and Mysql 3.23.54 max
I have the following code and all is fine until I hit the flush(). When it's executed, I get the following exception:
*******
cirrus.hibernate.HibernateException: identifier of an instance of mtmdemo.Permission altered from 1 to 1.0
at cirrus.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:1724)
******
Are you sure, you are using the latest version of Hibernate? I think cirrus.hibernate.HibernateExpection is thrown by Hibernate 1.x. Since Hibernate 2.x I had expected a net.sf.hibernate.HibernateException!?!