1. Collection of components with inheritance forum.hibernate.orgHibernate version:Hibernate v2.1.6 Name and version of the database you are using:DB2 v8.2 I want to use collection of components with inheritance. My mapping document is below: ------------------------------------------ |
2. Value types ( |
3. Hibernate inheritance fails to support extension components forum.hibernate.orgNewbie Joined: Sun Jan 30, 2005 9:43 pm Posts: 16 Hibernate version: 3.05 The following outlines a common development pattern that I think Hibernate could better support. So far I've hit brick walls attempting to make it work without resorting to compromising workarounds. This is NOT intended to be any form of Hibernate bashing. In many respects Hibernate 3.0 is a ... |
4. inheritance in Components forum.hibernate.orgThe problem is how I map the component to a part of the same table. Maybe I'l explain the situation. I have an 'Instruction' entity that has a 'state' field. The 'Instruction is mapped to a table called 'INSTRUCTION' that has a field called 'state'. The thig is I want to implement the state pattern in my logic, so I want ... |
5. Inherited classess as component or component collections forum.hibernate.orgHi All, Until now, I mapped all with entityes. For example I mapped a Address of a Person as a Entity. I have read about components, and I think that Address information has to be mapped as components, no as Entyties. However, I don't know How I Can I map this situation: As you can see, Addresses (BankAddress and ContactAddress) in ... |