-->
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: Foreign key generator problems
PostPosted: Mon Nov 19, 2007 7:31 pm 
Newbie

Joined: Sat Nov 10, 2007 7:19 pm
Posts: 10
Hi all,

I tried searching using the google technique, I didn't get any good results.

I can't seem to figure out how to map

<id name="id" column="item_number">
<generator class="foreign">
<param name="property">item_number</param>
</generator>
</id>

I get repeated columns as an error, and when I take it out, I get a unable to resolve property item_number.

I'm trying to get the ID of this table to match up with another.
This side is the <many-to-one> side.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 20, 2007 3:12 pm 
Newbie

Joined: Sat Nov 10, 2007 7:19 pm
Posts: 10
up for a resolutions. thanks.


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.