The files do have persisted fields:
@Entity
public class Article {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private int id = -1;
@ManyToOne(cascade=CascadeType.ALL)
private Author author = null;
@Basic
private String title = null;
@Basic
private String content = null;
@ManyToMany(cascade=CascadeType.ALL)
private List<Tag> tags = new ArrayList<Tag>();
.....
--
View this message in context:
http://n2.nabble.com/Schema-wont-create-tp4055690p4055835.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.