On 04/07/2012 10:53 AM, [email protected] wrote:
Hi!

________________________________________
From: [email protected] [[email protected]] On Behalf Of mohit 
gupta [[email protected]]
Sent: 07 April 2012 15:07
To: XWiki Users
Subject: [xwiki-users] Configuration to user different database schema for a    
particular space?

Hi Folks, i want to use different database schema for a particular space
due to  some requirement, though everything else will remain same.I am not
sure how i can go
for this.I mean is there a way  among below options:-

1)Can I mention "connection.url" in xwikiContext at request level
                         or
2)Can I keep two hibernate.cfg files and specify to pick one of these on
the basis of space name?

Too tricky for my basic knowledge! Of course I know nothing about the 
requirements that are leading you to use a different schema but, have you 
considered the option of using an XWiki farm? Two, in fact, any number, 
different perfectly integrated virtual wikis. In general, objects are stored in 
different database schemas, but a lot of great stuff is available out of the 
box to share contents and cross-manage the whole farm.

I would give Enterprise Manager a try before going for fancy solutions!

http://manager.xwiki.org/xwiki/bin/view/Main/WebHome

HTH!

Ricardo

Ricardo is right, there's no easy way of using a different schema for a given space, but what you need sounds like the perfect usecase for XWiki Workspaces (what XWiki Enterprise Manager provides now).

--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to