parent « Component « JPA Q&A





1. Can hibernate access a component's parent by field?    forum.hibernate.org

... (some properties) ... ... (some properties) ...

2. can a component get its parent type    forum.hibernate.org

Its there: Code: The <component> element allows a <parent> subelement that maps a property of the component class as a reference back to the ...

4. Two components of one type in Parent class    forum.hibernate.org

Hello, 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 ?    forum.hibernate.org

6. Recursive Component's parent: always returns the top object    forum.hibernate.org

Author 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: ...