When I was re-defining one of my objects last night, the orm.xml was
invalidated on a ManyToOne relationship I had in an Embeddable. Now the
curious thing about this, is the annotation on the bean had previously
been in place for near a year (through using Hibernate, then Toplink and
now EclipseLink). I took a look at the persistence orm XML definition and
sure enough the error was correct... only BASIC and TRANSIENT are allowed.
So which is correct? The orm preventing this, or the annotations allowing
this?