-->
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: Schema Isolation through Hibernate connection props ?
PostPosted: Mon Sep 27, 2004 12:06 pm 
Newbie

Joined: Tue Jul 13, 2004 11:51 am
Posts: 13
Hi,

This is a question thats architecture / database related. What is the best way to use / configure hibernate to allow it to use a schema per user or in other words restrict a schema per user login. Basically I have a DB [tables = accounting, employees and reports], but I have 100 clients, but I don't want 100 separate database instances running, ie I need 1 db schema per client I have.

1) Could I create an MBean to reconfigure hibernate on the fly when the user logs into the system and connect using that users credentials to the database ... at the moment this seems like a bad idea.

2) ?

Any ideas anyone pls ?

Mathew


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 04, 2004 4:54 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
You'll need a SF per client, which is a bad idea, I think

_________________
Emmanuel


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.