-->
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: Entity Map with an existing Db schema
PostPosted: Wed May 04, 2005 6:36 am 
Beginner
Beginner

Joined: Thu Apr 28, 2005 6:16 am
Posts: 20
The http://www.xylax.net/hibernate web-site is informative, but I am still confused. I'm also somewhat limited in that I am trying to apply Hibernate to an existing database schema.

The table structure I have is:

Item item_id
LinkTable item_id, language_id, description
Language language_id

The collection I want to use is a Map whereby I would like to have something in Item like String getDescription(Language). The relationship does not need to be bidirectional as I don't think I will need to determine an Item given a LinkTable.

Does anyone know an appropriate URL or have an hbm.xml config that fits the bill? Thanks!
merlyn

Hibernate version: 3.0.2


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.