1. Map with index that is the same as a component property forum.hibernate.orgHello, I'm stuck trying to produce a mapping that allows: |
2. A Component with a Collection Property? forum.hibernate.org |
3. Property name(s) within component forum.hibernate.org |
4. Mapping question: one2one vs component, and property forum.hibernate.orgi don't know how to choose a rite one among these three when i write my mapping file. there are two classes correspondent to two tables. e.g. a user and a login detail. they are one to one relationship, at the same time, loginDetail could be a property or a component of user, what criterians should i consider when i make ... |
5. property-ref using a component forum.hibernate.orgHere's what I'm trying to do. I have a security overview which has a surrogate primary key. It also has three columns which I map into a component (ContractHeaderId). The Security Table also has these three columns (and the mapped object is a component as well). Can I use the component as a property with the |
6. Property duplication fails for components forum.hibernate.orgHibernate version: 3.2.3.GA I think that there's a bug in PersistentClass. I have the following mapped class: Code: @Entity @Table(name = "OPER_INCOMINGFLIGHTS") public class IncomingFlight { private Long oid; private IATAFlightNumber iataFlightNumber; private String flightNumber; ... @Embedded @AttributeOverrides( ... ) ... |
7. Associating @EmbeddedId with specific property of component forum.hibernate.orgI'm trying to map a legacy object model using Hibernate/JPA annotations, and I have a rather peculiar requirement regarding one of the entity's primary keys - the actual entity ID is contained within a component object, but this component object contains other non-key properties. For example: @Entity public class MyEntity { @EmbeddedId private MyComponent component; } public class MyComponent { private ... |