Re: [xwiki-users] Configuration to user different database schema for a particular space?
On 04/07/2012 10:53 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] 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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Configuration to user different database schema for a particular space?
Hi! > > From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit > gupta [motgu...@gmail.com] > 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[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? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users