users@glassfish.java.net

Re: _at_OneToMany(mappedBy) - not working...

From: <glassfish_at_javadesktop.org>
Date: Mon, 06 Aug 2007 03:27:09 PDT

Try:

Website:
@OneToMany(mappedBy="website")
private List<Crawl> crawls;

Crawl:
@ManyToOne
@JoinColumn(name="website_id")
private Website website;
[Message sent by forum member 'danielrhoades' (danielrhoades)]

http://forums.java.net/jive/thread.jspa?messageID=229577