Re: embeddable with relations

2007-08-28 Thread Patrick Linskey
I don't believe that you can -- currently, OpenJPA does not have a separate XML schema for configuring custom annotations. Happily, there is work in progress along these lines. Since the JPA spec does not include a way to do this in the XSD, there is no way to get this data through our parser. -P

embeddable with relations

2007-08-28 Thread Uri Boness
Hi, I read somewhere in the mailing lists that it is possible to define @ManyToOne relations in embeddable objects. Is there any way to define the same behavior using XML mapping configuration? cheers, Uri