This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

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
 
Similar Threads
Change JForum Locale in real time
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE)
Migrate a running jforum from postgres to mysql
SystemGlobals.properties vs Admin Config?
Caching issue