Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 17849 invoked from network); 11 Sep 2007 00:34:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2007 00:34:54 -0000 Received: (qmail 35151 invoked by uid 500); 11 Sep 2007 00:34:47 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 35112 invoked by uid 500); 11 Sep 2007 00:34:47 -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 35103 invoked by uid 99); 11 Sep 2007 00:34:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 17:34:47 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 00:36:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C330714210 for ; Mon, 10 Sep 2007 17:34:30 -0700 (PDT) Message-ID: <3378116.1189470870503.JavaMail.jira@brutus> Date: Mon, 10 Sep 2007 17:34:30 -0700 (PDT) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Assigned: (DERBY-3038) SYSCS_IMPORT_TABLE FAILS with No current connection after shutdown/reconnect to encrypted database : 10.3.1.4 regression In-Reply-To: <24092281.1188720439087.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik reassigned DERBY-3038: ------------------------------------ Assignee: Dag H. Wanvik > SYSCS_IMPORT_TABLE FAILS with No current connection after shutdown/reconnect to encrypted database : 10.3.1.4 regression > -------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-3038 > URL: https://issues.apache.org/jira/browse/DERBY-3038 > Project: Derby > Issue Type: Bug > Components: Tools > Affects Versions: 10.3.1.4 > Environment: Linux 2.6.21.1 #2 Tue Jun 26 23:24:34 CEST 2007 i686 AMD Athlon(tm) XP 2800+ GNU/Linux (Mandriva 2007 Spring) > java version "1.6.0" > Java(TM) SE Runtime Environment (build 1.6.0-b105) > Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing) > Reporter: EDAH-TALLY > Assignee: Dag H. Wanvik > Priority: Critical > Attachments: create_table.txt, lst_pays.csv, Reproduce3038.zip, stacktrace.txt, sysinfo.txt, Test3038.java > > > I used to import data with CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE procedure with > success in JAVA and DERBY 10.2.2.0. > Since 10.3.1.4, the import procedure fails. > The error message is : > The exception 'java.sql.SQLException: No current connection.' was thrown while > evaluating an expression. > I'm sure there is a connection, the same which created the statement : > *************************************************************************************************** > protected boolean importTableDataCOUNTRIES() { > try { > java.sql.Statement st = > conn.createStatement(java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE, > java.sql.ResultSet.CONCUR_UPDATABLE); > String sql = ""; > sql = "CALL > SYSCS_UTIL.SYSCS_IMPORT_TABLE('NMSET', 'PAYS', '/tmp/lst_pays.csv', > null, null, null, 1)"; > st.executeUpdate(sql); > > return true; > } catch (SQLException ex) { > debug(ex.getMessage()); > } > return false; > } > *************************************************************************************************** > The database is not being accessed by another application. The table does > exist. The CSV file is comma separated and strings are enclosed by ". > Thank you for considering this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.