-->
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: Dynamic multischema reference help!
PostPosted: Mon Jul 18, 2005 8:35 am 
Newbie

Joined: Mon Jul 18, 2005 8:20 am
Posts: 1
Hello,
I have a problem in a multi-schema enviroment.
My application needs to use some tables from the main schema and other from others "slave" schemas. The main schema is fixed but the "slaves" are dynamic at runtime.

Example:
I have the table main.foo that reference the table main.foo_element.
At runtime sometime I need to reference slave1.foo_element or slave2.foo_element.

There is a way to chage the reference schema only for a single transaction (Better)? or for a single session?

Tanks a lot
Lucio Tarantino

Hibernate version: 3.0.5

Name and version of the database you are using:Oracle 9i


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.