Closed Bernardo-MG closed 5 years ago
It seems that the id generation setup has changed to:
@Id @GeneratedValue(generator="increment") @GenericGenerator(name="increment", strategy = "increment") private Integer id;
http://docs.jboss.org/hibernate/orm/5.0/quickstart/html/#hibernate-gsg-tutorial-annotations-entity
http://docs.jboss.org/hibernate/orm/5.4/quickstart/html_single/#hibernate-gsg-tutorial-annotations-entity
This is specific to Hibernate. Won't be used, as this example is for generic JPA
It seems that the id generation setup has changed to: