-->
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.  [ 2 posts ] 
Author Message
 Post subject: Need a help
PostPosted: Thu Dec 11, 2003 11:10 am 
Beginner
Beginner

Joined: Thu Dec 11, 2003 9:54 am
Posts: 25
Hi there,

I have some troubles with mapping, which was generated by MiddleGen (from Oracle DB).

Some explanations:
Table1 have a field which is PK (one-to-...)
Table2 have a field which is PK (one-to-...)
Table3 have a field which is PK, _and_ FK at the same time (...-many).

All this tables are related using schema in (...), so Table3 have a PK, which is double FK at the same time.

Using Hibernate 2.0 seems everything is OK, but 2.0.3 and 2.1rc1 talk about insert="false" update="false" with MappingException.

Could somebody explain me a bit, what's wrong with that, what I should to do ?

Thanks a lot. Hope somebody will help me.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 11, 2003 12:10 pm 
Expert
Expert

Joined: Tue Sep 16, 2003 4:06 pm
Posts: 318
Location: St. Petersburg, Russia
paste your mapping & exception


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.