-->
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.  [ 2 posts ] 
Author Message
 Post subject: Retrieving objects from a tablespace(Oracle) dynamically
PostPosted: Mon Oct 06, 2003 1:10 pm 
Beginner
Beginner

Joined: Wed Sep 17, 2003 4:07 pm
Posts: 22
Is there anyway, I could specify dynamically what tablespace my tables are in so that I could retrieve the objects from a particular tablespace. I will have the same table structures in multiple tablespaces and at run time based on some application logic, I would like to ask hibernate to retrieve or persist the objects in a specific tablespace. Is it possible at all?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 06, 2003 3:05 pm 
Beginner
Beginner

Joined: Fri Sep 12, 2003 12:54 pm
Posts: 20
You could make a different SessionFactory for each tablespace, each configured with a different value for the Hiberbate property "hibernate.default_schema".

james


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

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.