db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6662) DatabaseMetaData.usesLocalFiles() returns true for in-memory databases
Date Mon, 14 Jul 2014 18:50:05 GMT

     [ https://issues.apache.org/jira/browse/DERBY-6662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rick Hillegas updated DERBY-6662:
---------------------------------

    Description: 
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.

  was:
DatabaseMetaData.usesLocalFiles() returns true for in-memory databases. The following script
shows this:

{noformat}
connect 'jdbc:derby:memory:db;create=true';

call syscs_util.syscs_register_tool( 'databaseMetaData', true );

values usesLocalFiles();
{noformat}

I think that this method should return false because an in-memory database does not store
tables in a local file.


> 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.0.0
>            Reporter: Rick Hillegas
>
> 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.2#6252)

Mime
View raw message