-->
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.  [ 4 posts ] 
Author Message
 Post subject: hibernate mapping
PostPosted: Wed Nov 09, 2005 6:21 am 
Newbie

Joined: Wed Nov 09, 2005 6:01 am
Posts: 2
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

I am using one xml per class and their corresponding entries in cfg file
but it is giving error in reading the resource files when putting the association between the two xml corresponding to two tables


if anybody knows it mail me at suraj.gupta@tcs.com
[/i]


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 10:11 am 
Beginner
Beginner

Joined: Sun Jul 10, 2005 12:11 pm
Posts: 32
Location: Hertfordshire, England
Please see this link for information about what is required to answer your queries...
http://www.hibernate.org/ForumMailingli ... AskForHelp

A good start would be:
1. What is the error?
2. Whare is the content of the XML files?
3. What is the schema of the two tables?
4. What association?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 09, 2005 10:27 am 
Newbie

Joined: Wed Nov 09, 2005 6:01 am
Posts: 2
[quote="cscashby"]Please see this link for information about what is required to answer your queries...
http://www.hibernate.org/ForumMailingli ... AskForHelp

A good start would be:
1. What is the error?
2. Whare is the content of the XML files?
3. What is the schema of the two tables?
4. What association?[/quote]


the error is reading resource.hbm.xml
any association if we are giving two xml files for two classes
things are working if one xml file is given for that two classes with association unidirectional
but that also does'nt move in bidirectional mapping


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 15, 2005 11:11 am 
Beginner
Beginner

Joined: Sun Jul 10, 2005 12:11 pm
Posts: 32
Location: Hertfordshire, England
I'm sorry Suraj, but there is little anyone can do on these forums without specific code exerts. Please include these and then we may be more forthcoming with help...


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

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.