This content has been marked as final.
Show 1 reply
-
1. Re: Problem with EntityManager and Hibernate.
smarlow Nov 9, 2012 2:14 PM (in response to ralalnet)I'm guessing that you don't want @GeneratedValue(SEQUENCE), so switch to @GeneratedValue(TABLE). Or you could set property "
hibernate.id.new_generator_mappings=false" in your persistence.xml.
You can read more about the above property in this doc.