-
1. Re: global revision table in different database?
adamw Oct 20, 2008 3:50 PM (in response to drab)Very weird ... there is only one datasource used, and you shouldn't have to do anything. I'm pretty sure it isn't persisted in hsql. I tested with mysql and it worked fine, though I'll try again tomorrow in the evening (don't have time right now, unfortunately). Which MySQL are you using, and which Hibernate, JBossAS version?
-
2. Re: global revision table in different database?
drab Oct 21, 2008 12:36 PM (in response to drab)well, at least that answers my second question trying to understand this decision :)
anyway, I'm using JBoss AS 4.2.3.GA, Hibernate 3.3 and MySQL 5.0 and it works. I wish I could tell you if the table existed in hsql, but me and hsql are archenemies.
Dirk -
3. Re: global revision table in different database?
adamw Oct 21, 2008 1:22 PM (in response to drab)I just tested and it works fine. I have the WikiLog entity (that's the global revision entity for this application) and all seems to work well. I assume you don't get any exceptions?
Adam -
4. Re: global revision table in different database?
drab Oct 22, 2008 6:55 AM (in response to drab)ah! My fault then. I thought the 3 wiki tables are for a different demo application. Yes, it exists. The name was just a bit misleading.
Dirk