openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jackson12 <kemin_c...@yahoo.com>
Subject uni-directional mapping
Date Tue, 18 Dec 2007 20:19:38 GMT

I have a OneToMany uni-directional mapping like this:

@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@JoinColumn(name = "EXCLUDES_OID")
private Set<ExcludeInfo> excludes;

when i start the server, it gives me some exceptions, but after I change the
mapping to bi-directional, it is fine.

Is this a limitation of OpenJPA? 

Thanks
-- 
View this message in context: http://www.nabble.com/uni-directional-mapping-tp14404890p14404890.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.


Mime
View raw message