getTables() length > 1 on Derby even when cache table DNE
---------------------------------------------------------
Key: JBCACHE-1028
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1028
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Cache loaders
Affects Versions: 2.0.0.BETA2
Environment: Derby 10.2, Managed transactions
Reporter: Bill Middleton
Assigned To: Manik Surtani
The EmbeddedXADataSource which is provided by Apache derby 10.2 always returns a
resultset which has length > 1 when calling getTables(), even if the table in question
does not exist. This causes the return value from AdjListJDBCCacheLoader.tableExists() to
always be true, and the jbosscache table is never created.
I'm not sure, but perhaps there's a better way to conclude that a table does not
exist in the result set other than than its length.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira