openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Polliard <tho...@polliard.com>
Subject Re: Schema wont create
Date Tue, 24 Nov 2009 04:41:50 GMT

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.

Mime
View raw message