How to specify the cardinality of a @OneToMany in EclipseLink/JPA

Posted by simpatico on Stack Overflow See other posts from Stack Overflow or by simpatico
Published on 2010-04-24T19:00:50Z Indexed on 2010/04/24 19:03 UTC
Read the original article Hit count: 246

I'm trying to impose a @Oneto7 association. I'd have imagined an attribute that specifies the target many value, but have found none. If there is no such attribute, how else, in JPA/EclipseLink would one achieve it?

© Stack Overflow or respective owner

Related posts about jpa

Related posts about eclipselink