Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Wrong One-To-Many Mapping



cowwoc wrote:
> 
> 
> The Javadoc for OneToMany might help you:
> http://java.sun.com/javaee/5/docs/api/javax/persistence/OneToMany.html
> 
> You probably want to specify @JoinColumn(name="BOOK_ID") 
> 
> Gili
> 

if the relationship is unidirectional (1 ---> N) you have to specifiy a join
table. (JPA 1.0)

-- 
View this message in context: http://www.nabble.com/Wrong-One-To-Many-Mapping-tp19527921p19553617.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top