We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,313 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

hibernate /multiple oracle schemas

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
2 Days
Discussion Span
1 Year Ago
Last Updated
3
Views
Samaka
Newbie Poster
2 posts since Mar 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 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

kb18001
Newbie Poster
2 posts since Mar 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

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

Samaka
Newbie Poster
2 posts since Mar 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0699 seconds using 2.66MB