Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to connect to a schema based on user

843859May 5 2010 — edited Nov 20 2014
In our web application we connect to the database using context.xml.
So a user log on we read the context file and connect to the specific schema.

Now, we have a requirement to have a schema per user group.

I appreciate any idea on how to do the above. I am thinking of having a schema that uses the context file, in it I have a table with all parameters needed to have a new connection for the user. is that a sound logic.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2010
Added on May 5 2010
4 comments
252 views