File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Change the jForum DB dynamically " Watch "Change the jForum DB dynamically " New topic
Author

Change the jForum DB dynamically

vaibhav hadole
Greenhorn

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

Joined: May 26, 2003
Posts: 31054
    
162

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


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
vaibhav hadole
Greenhorn

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: http://aspose.com/file-tools
 
subject: Change the jForum DB dynamically