@Entity
@Table(name = "newsType")
public class Trees {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Key id;
@Column(name="newsType_name")
private String name;
@ManyToOne
@JoinColumn(name = "pid")
private Trees parent;
@OneToMany(mappedBy = "parent)
@JoinColumn(name = "pid")
private Set<Trees> children;
private boolean display = false;
//setters/getters.......
}
I can't run my app engine with this entity,is there anyway to make it
works?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.