legacy « Schema « JPA Q&A





1. Mapping many-to-one in legacy schema    forum.hibernate.org

Hi. I am trying to map a many-to-one from A.this to B.that without much luck. The tables look like this: Code: create table A ( id int not null, this int not null, ); CREATE UNIQUE INDEX A_KEY ON A (id); create table B ( id2 varchar(30) not null, that int not null, ...

2. Mapping in legacy schema, child tables use parent PK for Id    forum.hibernate.org

This is a real newbie question. I am the proud owner of "Hibernate in Action" but I haven't encountered the solution to this (not to say its not there just that I haven't seen it yet). I have two tables PARENT and CHILD Code: PARENT ID # other columns CHILD PARENT_ID # other columns What is the correct way to map ...

3. Unidirectional many-to-many in legacy schema    forum.hibernate.org

Newbie Joined: Tue May 24, 2005 6:31 pm Posts: 7 i am somewhat new to ORM, so i apologize if this has an obvious solution. i dug around in the textbooks, on the forums, and on the web at large, and saw nothing that seemed to resemble this (not clearly enough for me to recognize, at least). i will detail my ...

4. 1:n mapping on strange legacy schema    forum.hibernate.org

Hi Hibernate-experts, since some days I'm fiddling around to find a working mapping, but could not find help google, FAQ, doc, etc., so here's my cry for help: In effect it's a simple 1:n relationship between two tables from a legacy schema, called PARENT and CHILD in this mail. I need read-only access so that a Parent class contains an ordered ...

5. Mapping legacy schema and classes    forum.hibernate.org

6. hibernate property-ref for legacy schemas    forum.hibernate.org

Hi Mathieu, I am having some real problems with this issue, and from what I understand this is still to be fixed. I was wondering if you can let me know how you managed to apply the patch, or if you can provide me with a jar file that has this patch compiled in it. I am unable to compile from ...