-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Mapping children to grandparent
PostPosted: Mon Aug 30, 2010 12:13 pm 
Newbie

Joined: Mon Aug 30, 2010 10:40 am
Posts: 1
Hello,
I am having difficult mapping a child to its grandparent. The configuration is this:

Grandparent is one-to-one with Child is one-to-many with Grandchild
Grandparent has Child property
Child parent property linked to Grandparent and holds a list of Grandchild.
Grandchild has a parent property linked to Grandparent.

The table column is defined as "INVLVD_PER_SERL varchar2(32) NOT NULL"

There are two places in the application where this configuration exists. One works and the other throws a null column reference exception on insert.

Has anyone else run into this and solved it?

Thanks in advance
K


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.