[ 
http://jira.xwiki.org/jira/browse/XWIKI-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Mortagne updated XWIKI-1740:
-----------------------------------

    Attachment: 20070912-fix-xwikivirtualmode-hsqldb-derby.txt

New patch that correct javadoc (HSQL in place of Derby) and wrong import I did 
not seen before create the patch. Sorry too quick :)

> Why doesn't hibernate take care of these differences? Shouldn't it make the 
> application storage independent?

I did not find a way to manage this only with Hibernate as hibernate use 
"catalog" that derby and hsql (and oracle) claims to not support internally (so 
theirs jdbc drivers does not implement setCatalog, getCatalog, etc.) even I 
don't see difference from user point of view between catalogs and schemas. Plus 
I did not wanted to entirely modify the way xwiki manage databases so I follow 
the Oracle support example for problem almost the same that Oracle.

> Why does the main database name need to be changed?

I did not find a way to set schema in connection string so the way xwiki works 
actually in XE (or any not virtual mode) can't use other base that PUBLIC in 
HSQLDB or APP for Derby which are the default schemas and always exist.

> Add full xwiki virtual mode support for hsqldb and derby
> --------------------------------------------------------
>
>                 Key: XWIKI-1740
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1740
>             Project: XWiki Platform
>          Issue Type: New Feature
>            Reporter: Thomas Mortagne
>         Attachments: 20070912-fix-xwikivirtualmode-hsqldb-derby.txt, 
> 20070912-fix-xwikivirtualmode-hsqldb-derby.txt
>
>
> HSQLDB or DERBY can't be used in virtual mode (multiwiki) because theses 
> database engines does not support :
>   - "create database" sql request in XWikiHibernateStore.createWiki
>   - getCatalog() jdbc api in XWikiHibernateBaseStore.setDatabase

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to