File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JForum and the fly likes Change the jForum DB dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Change the jForum DB dynamically " Watch "Change the jForum DB dynamically " New topic

Change the jForum DB dynamically

vaibhav hadole

Joined: Mar 10, 2013
Posts: 4

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

Joined: May 26, 2003
Posts: 33119

Can you deploy multiple instances of the JForum war file? One per database you want to support.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
vaibhav hadole

Joined: Mar 10, 2013
Posts: 4
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..

I agree. Here's the link:
subject: Change the jForum DB dynamically
It's not a secret anymore!