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,

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by Samaka
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 !

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.