-->
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: one class (not object) in multiple schemas
PostPosted: Thu Sep 30, 2004 6:50 pm 
Newbie

Joined: Mon Nov 17, 2003 10:53 am
Posts: 15
hi,

i guess this will qualify as a rather esoteric
question. never mind ;-)

i have a class which i want to save into
different schemas, depending on the module
my class is being used in.

let me explain in more detail:
i have a class C which is defined in
module M0.
i have also module M1 which defines S1 and
module M2 which defines S2. both modules use
M0 and therefore both schemas define the
necessary tables for C (but also different ones).

i know that i am duplicating information (been
a nasty boy lately ;-) ).
the reason is that M1 and
M2 should be used in complete isolation from
one an other and M0 on the other hand should
be abstract and should not define any
persistence (no schema S0 whatsoever)

any ideas on how to solve this?

ciao robertj


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.