-->
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: Put Update, and Insert in false
PostPosted: Mon Dec 06, 2004 5:58 am 
Newbie

Joined: Sun May 30, 2004 9:01 am
Posts: 7
Hibernate version: 2.1.6

I have legacy database have compsite id and the relation between two
object ( many-to-one ) have two foreign keys one of them is one of primary keys.

How can deal in that in XML mapping I wanna put insert/update = false
for only the primary key but it is not an option I force to put it on all the many-to-one relation.

<many-to-one name="obj" class="className" >
<column name="FK" />
<column name="PK" />
</many-to-one>


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.