[jboss-jira] [JBoss JIRA] Assigned: (JBCACHE-1028) getTables() length > 1 on Derby even when cache table DNE
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Fri Apr 20 11:09:30 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-1028?page=all ]
Manik Surtani reassigned JBCACHE-1028:
--------------------------------------
Assignee: Mircea Markus (was: Manik Surtani)
> 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: Mircea Markus
>
> 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
More information about the jboss-jira
mailing list