Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 78564 invoked from network); 4 Sep 2007 19:31:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2007 19:31:11 -0000 Received: (qmail 40898 invoked by uid 500); 4 Sep 2007 19:31:06 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 40876 invoked by uid 500); 4 Sep 2007 19:31:06 -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 40867 invoked by uid 99); 4 Sep 2007 19:31:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2007 12:31:06 -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, 04 Sep 2007 19:32:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2671D71420B for ; Tue, 4 Sep 2007 12:30:48 -0700 (PDT) Message-ID: <4349562.1188934248150.JavaMail.jira@brutus> Date: Tue, 4 Sep 2007 12:30:48 -0700 (PDT) From: "EDAH-TALLY (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3038) SYSCS_IMPORT_TABLE FAILS : 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 ] EDAH-TALLY updated DERBY-3038: ------------------------------ Attachment: lst_pays.csv create_table.txt Here they are. > SYSCS_IMPORT_TABLE FAILS : 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 > Attachments: create_table.txt, lst_pays.csv, stacktrace.txt, sysinfo.txt > > > 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.