I have an issue related to sequence not found when I upgrade hibernate from 3.5 to 4.0.0.RC6:
at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:
Even i got the same issue, Use the following lines
@GenericGenerator(name = "increment", strategy = "increment")
@GeneratedValue(generator = "increment")
I found the answer.
For common id generator for all classes, we should use
@Id
@GeneratedValue(generator="GENERATOR_COMMON")
@GenericGenerator(name="GENERATOR_COMMON",strategy="point.to.table.generator")
Hope this help someone who have the same issue like me.