Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 063D317AFC for ; Sun, 28 Sep 2014 21:16:34 +0000 (UTC) Received: (qmail 25514 invoked by uid 500); 28 Sep 2014 21:16:33 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 25485 invoked by uid 500); 28 Sep 2014 21:16:33 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 25475 invoked by uid 99); 28 Sep 2014 21:16:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Sep 2014 21:16:33 +0000 Date: Sun, 28 Sep 2014 21:16:33 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6662) DatabaseMetaData.usesLocalFiles() returns true for in-memory databases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14151219#comment-14151219 ] ASF subversion and git services commented on DERBY-6662: -------------------------------------------------------- Commit 1628101 from [~myrna] in branch 'code/branches/10.10' [ https://svn.apache.org/r1628101 ] DERBY-6662; DatabaseMetaData.usesLocalFiles() returns true for in-memory databases preventing the optional tools test case to run with JDBC lower than 4 > 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)