Here is what is till missing to make it official support:
Option 1, db per wiki (mysql style):
- create the wiki database from XWiki. The workaround is to create the database by hand first and then create the wiki.
- Proxy the db connection so that when we change the db, the actual TCP connection to the db changes without Hibernate knowing it. (Postgres requires a new TCP connection for a db change.)
Option 2, schema per wiki (Oracle style):
- Investigate why some queries query over all schemas rather than only the one which has been selected.