1.11M Members

hibernate /multiple oracle schemas

 
0
 

Hello,


I'm doing a simple J2EE application that will interact with a database like Oracle and you know that a database can have multiple oracle schemas and that is the problem (because I do not know how to configure hibernat with multiple schemas :( because my application can handle multiple schemas . ​​is there a way to make the configuration file hibernat dynamic and can control it with jsp page . if any of you can help me I will be very grateful and thanks in advance

good day,
Sincerely,

 
0
 

this scenario of configuring multiple schemas is like multiple database. So you have to define the multple session factories in your application. in your application, configure multiple session factiories in hibernate.cfg.xml.

Please let us know if you need any information on this

 
0
 

thanks for your replay , but can you explain to me I don't understand what you mean !

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: