Hello,

Thanks for your response.
Yes, I understand xwiki has to use a new schema for sub wiki for
scalability raison etc ...

But, in production environnement in a real (big) company, Oracle DBA
disallow autorisation on create user / schema operation for xwiki user
(only DBA administrator can do this operation)

Oracle DBA has to create user/schema by themself (database configuration
with "corporate option" backup rule etc ...)

A workaround could be :
- Target subwiki user/schema is provisioning by Oracle administrator (and
not xwiki application)
- Xwiki continue to update shema

So, if I comment the XWikiHibernateStore.createWiki function and previously
provisioning a schema with target subxwiki name, it should work, isn't it ?

Do you know if this option is available using file configuration ?

Best,

Antoine

2015-01-06 12:02 GMT+01:00 Jeremie BOUSQUET <[email protected]>:

> Hello,
>
> This is normal, see here [1]
>
> New wiki creates a new schema.
>
> BR,
> Jeremie
>
> [1] - http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization
>
> 2015-01-06 11:49 GMT+01:00 Antoine Berthelin <[email protected]
> >:
>
> > Hello,
> >
> > I have a question about "create a new wiki" feature on xwiki, regarding
> the
> > code and after test, this feature create a schema.
> > In Oracle, to create a schema, you have to create user.
> > The problem is : "Oracle administrator don't allow xwiki user to create
> > user/schema" in oracle database ...
> > File :
> >
> >
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateStore.javaline
> > 308
> >
> > Hope it's a lack of understanding on my side ?
> > What do you think, do you have a workaround ?
> >
> > Thanks for your help
> > _______________________________________________
> > users mailing list
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to