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 996CA105BB for ; Thu, 29 Aug 2013 20:36:58 +0000 (UTC) Received: (qmail 95574 invoked by uid 500); 29 Aug 2013 20:36:58 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 95368 invoked by uid 500); 29 Aug 2013 20:36:54 -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 94413 invoked by uid 99); 29 Aug 2013 20:36:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 20:36:52 +0000 Date: Thu, 29 Aug 2013 20:36:52 +0000 (UTC) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DERBY-6324) DatabaseMetaData.getJDBCMinorVersion() should return 2 now that we've implemented JDBC 4.2 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-6324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren updated DERBY-6324: -------------------------------------- Attachment: DERBY-6324.diff Attaching a patch which tries to differentiate between jdbc 4.0 (assumed with java 6/jdk 1.6), 4.1 (assumed with 1.7), and 4.2 (assumed with 1.8). It adds the import of JVMInfo to ClientDatabaseMetaData and EmbedDatabaseMetaData classes. Or is there a better way to figure this out? > DatabaseMetaData.getJDBCMinorVersion() should return 2 now that we've implemented JDBC 4.2 > ------------------------------------------------------------------------------------------ > > Key: DERBY-6324 > URL: https://issues.apache.org/jira/browse/DERBY-6324 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.10.1.1 > Reporter: Rick Hillegas > Assignee: Myrna van Lunteren > Attachments: DERBY-6324.diff > > > Now that the work on DERBY-6000 is done, DatabaseMetaData.getJDBCMinorVersion() should return 2 rather than 1. The following script shows that we're still returning 1: > connect 'jdbc:derby:memory:db;create=true'; > call syscs_util.syscs_register_tool( 'databaseMetaData', true ); > values getJDBCMajorVersion(); > values getJDBCMinorVersion(); > call syscs_util.syscs_register_tool( 'databaseMetaData', false ); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira