-->
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: Composite-Id with native key
PostPosted: Wed Apr 13, 2005 1:57 pm 
Newbie

Joined: Wed Apr 13, 2005 1:47 pm
Posts: 1
Hi, i'am having problems to configure a class.hbm.xml ..
i need to set up this file to use 2 primary keys, one of them is an Foreign Key and the other one is an integer (with native AUTO INCREMENT of MySQL and its not Foreign Key).

The problem is in the integer key, i cant find out how to set up native in the key property tag ...

Please Help !!
Thx!!

_________________
Kike Rangel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 14, 2005 8:57 am 
Newbie

Joined: Wed Apr 13, 2005 11:25 am
Posts: 7
you should set the generator to assigned


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.