On Tue, Nov 5, 2013 at 12:54 PM, shouldbe q931 <shouldbeq...@gmail.com>wrote:

> Hi,
>
> On page
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR
> it says "Do not set user, url, etc., nor connection.provider_class in
> hibernate.cfg.xml"
>
> On page
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL
> it says "edit the WEB-INF/hibernate.cfg.xml"
>
> There are similar instructions to edit /hibernate.cfg.xml for each of
> the other database servers listed on the page
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR
>
> Which is correct ?
>

Both are correct.

You forgot to read the first part of the sentence ;)

"
A more scalable and J2EE-conformant tactic is to use the Servlet container
to manage your data source...
"

So when using data source you don't need to set those parameters.

BTW the instructions on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR clearly
mention:

* "The general strategy is the following:"
* "Configure XWiki to use the created database. This involves modifying the
WEB-INF/hibernate.cfg.xml file as is described in the tutorials for each
database below."

So you have global instructions and then specific instructions for each DB.

Thanks
-Vincent


> Cheers
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to