Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Change the jForum DB dynamically

 
vaibhav hadole
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I am trying yo integrate the jForum in my app.

I am using the Hibernate and multiple DB at a time. Its login dependent which DB you choose.
So I need to select the DB for jForum in the same way at login time.

Can anybody know hoe to do this? how to change jForum DB at dynamically?

thanks in advance..
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34375
345
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you deploy multiple instances of the JForum war file? One per database you want to support.
 
vaibhav hadole
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply...

No.. I have integrated jForum within my application.. So, It ll b deployed only once but DB's are changing..

Initially I m manually creating the DB's. So, I ll just create the jForum tables in every DB..

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic