Tag Archives: Hibernate

Don’t use Default attribute on CF9 ORM persistant object primary key instead use unSavedvalue

I recently started using the CF9 along with Hibernate ORM and I had trouble saving the the object using the EntitySave Method on a new object with out setting the ForceInsert param to true. If I don’t set the forceInsert param to true then I would get the below error which was driving me nuts [...]