1. Problem with including an Embeddable Component twice forum.hibernate.orgclass A { @Embedded C someRef; } class B extends A { @Embedded @AttributeOverrides (...override to point to different columns...) C someOtherRefInstance; } class C { String name; } Now class B that extends A has two ... |
2. Component (aka @Embeddable) with one-to-many or many-to-many forum.hibernate.org |
3. Generics and Embeddable Components forum.hibernate.orgHere's an interesting challenge for you annotation gurus: I'm using Hibernate 3 and Annotations. I've got an embedded component that is generic. In the containing class I then use AttributeOverride to change the column mapping. The only problem is Hibernate doesn't know what type the property is. The error I get is: org.hibernate.AnnotationException: Property MyEmbedded.value has an unbound type and no ... |