OneToOne « Schema « JPA Q&A





2. OneToOne + JoinColumn generating unexpected schema    forum.hibernate.org

Newbie Joined: Mon Feb 16, 2009 6:15 pm Posts: 2 The code below is generating the following ddl. It seems to indicate that when serializing MySampleFuContainer it will serialize the entire instance of MySamplingFu, rather than emit the foreign key. What should the annotations look like to get an ordinary 1-1 association? create table rlambda_production.MySampleFuContainer_table ( idSuper varchar(255) not null, mysamplingfu_ ...

3. Unidirectional @OneToOne W/OChanging the Existing Schema    forum.hibernate.org

Newbie Joined: Mon Dec 11, 2006 8:28 am Posts: 13 I have an existing table/class for which I occasionally have extra information. I'd like to put the extra information into a separate table/class and associate it with the original class, without making any changes to the schema of the original table. Something like this: Code: class Char { ...