[ 
https://issues.apache.org/jira/browse/DERBY-6662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14150822#comment-14150822
 ] 

Myrna van Lunteren commented on DERBY-6662:
-------------------------------------------

The merge to 10.10 from 10.11 needed tweaking because 'goodStatement' and 
'assertResults(...)' were not available in the 10.10 BaseJDBCTestCase, and also 
I could not use 'String.contains()' as that gave me a build failure (10.10 came 
out with support for 1.4.2; contains is from Java 1.5).

> DatabaseMetaData.usesLocalFiles() returns true for in-memory databases
> ----------------------------------------------------------------------
>
>                 Key: DERBY-6662
>                 URL: https://issues.apache.org/jira/browse/DERBY-6662
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.11.1.1
>            Reporter: Rick Hillegas
>            Assignee: Myrna van Lunteren
>         Attachments: DERBY-6662.diff, DERBY-6662.diff2
>
>
> DatabaseMetaData.usesLocalFiles() returns true for in-memory databases. And 
> it also returns true for DatabaseMetaData.usesLocalFilePerTable(). The 
> following script shows this:
> {noformat}
> connect 'jdbc:derby:memory:db;create=true';
> call syscs_util.syscs_register_tool( 'databaseMetaData', true );
> values usesLocalFiles();
> values usesLocalFilePerTable();
> {noformat}
> I think that these methods should return false because an in-memory database 
> does not store tables in files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to