-->
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: Data Insert Problem in One to Many Table Relation Ship
PostPosted: Fri Sep 05, 2008 3:59 am 
Newbie

Joined: Fri Jun 27, 2008 5:30 am
Posts: 3
Location: Bangalore
Hi There,
Iam new to Hibernate , i have 3 tables which is pointing to a single master table .when i enter data to one child table null records is getting created to other child tables, hope the explanation below will help all of you to understand the problem.

EDUORG - > STUDENT
- > TEACHING STAFF
-> NON-TEACHING STAFF
EDUORG is the master table which holds some common data among all the three child tables and refers with three different tables for different datas.

When i enter data for Student table , the data for teaching-staff ,non-teaching staff table is getting inserted with Null Values. Please help me to fix this .

Thanks in Advance.

_________________
Muruga.R
Software Engineer
Bangalore


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.