1. Can hibernate access a component's parent by field? forum.hibernate.org |
2. can a component get its parent type forum.hibernate.orgIts there: Code: |
3. Mapping ID of parent as a property within a component forum.hibernate.org |
4. Two components of one type in Parent class forum.hibernate.orgHello, I'm quite new to hibernate and have problems creating mapping for my legacy classes and schemas. Consider we have two classes: Person and Address. Person has (exactly) two types of addresses (livingAddress and correspondenceAddress), ie: public class Person { int id; Address livingAddress; Address correspondenceAddress; } I've association as below PERSON (Id) ADRESS ( Id PK, PersonId FK, AddressType -- ... |
5. How to use |
6. Recursive Component's parent: always returns the top object forum.hibernate.orgAuthor Message kikih Post subject: Recursive Component's parent: always returns the top object Posted: Wed Feb 28, 2007 12:52 pm Newbie Joined: Wed Feb 28, 2007 12:31 pm Posts: 1 Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 3.1.3 Mapping documents: Code: |