Java Reference
In-Depth Information
<scope>provided</scope>
</dependency>
Additionally, if your Users entity doesn't have an
@javax.persistence.GeneratedValue annotation in its ID field, make sure you
add it manually (there is currently a bug in the JPA add-on):
@Id
@Column(name = "id", unique = true, nullable = false)
@GeneratedValue(strategy=GenerationType.IDENTITY)
public int getId() {
return this.id;
}
Search WWH ::




Custom Search