Answer the question
In order to leave comments, you need to log in
What does hibernate want?
Hello, tell me what can beat?
Spring.version 4.0.5.RELEASE hibernate.version4.3.5.Final
swears like this
Caused by: org.hibernate.MappingException: Could not instantiate id generator [entity-name=hw11.model.domain.Client]
Answer the question
In order to leave comments, you need to log in
Thank you all figured out the problem was in
@SequenceGenerator(name = "sequence", sequenceName = "seq_operator_id", allocationSize = 1)
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sequence")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question