-->
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: Best way to map this?
PostPosted: Tue Jul 20, 2004 3:47 am 
Newbie

Joined: Wed Jun 16, 2004 8:26 am
Posts: 19
I'm a little bit confused about how to map following situation.

i have one existing table for:
    update
    update_installation
    application
    database

    d_App
    d_sid
    d_server


table application uses fixed values already stored in the (domain-) table d_App
table database uses fixed values already stored in the (domain-) table d_sid and d_server

One update can have multiple installations --> one-to-many

An installation must have (--> one-to-one or joined-subclass)

either one applikation (the name comes from the domain-data-table)
or
one database (contains one sid and one server from the domain-data-table)

What is the best way to map this situation?

I tried to do this with joined-subclasses form installation to applikation and database, but i always get exception like in my last post.

Maybe i could use component-mapping but i didn't see how to put a component into it's own table in the database.

Any help and ideas would be very welcome!

_________________
Have Fun!

Torsten


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.