openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jackson12 <>
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? 

View this message in context:
Sent from the OpenJPA Developers mailing list archive at

View raw message