-->
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: Foreign-key name für Maps kontrollieren
PostPosted: Tue Sep 29, 2009 5:54 am 
Regular
Regular

Joined: Thu Feb 19, 2004 4:48 am
Posts: 62
Ich mappe eine Profile mit Profilwerte über eine map:

Code:
<class name="Profile" table="PROFILES">
...
<map name="properties" lazy="false" table="PROFILE_PROPERTIES" >
   <key column="entry_id" />
   <map-key formula="entry_key" type="string" />
        <one-to-many class="ProfileEntry" />
</map>


Alles schön und gut, aber ich will kontrollieren, wie die foreign-keys von profileEntry -> Profile heißen. Es gibt zwar eine attribut "foreign_key" auf key-column. aber das ändert nichts an den fk-namen.

Weiß da jemand weiter?!
Viele Grüße
Stefan


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.