Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 20223 invoked from network); 20 Jul 2007 21:02:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jul 2007 21:02:31 -0000 Received: (qmail 22573 invoked by uid 500); 20 Jul 2007 21:02:30 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 22537 invoked by uid 500); 20 Jul 2007 21:02:30 -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 22503 invoked by uid 99); 20 Jul 2007 21:02:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jul 2007 14:02:30 -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; Fri, 20 Jul 2007 14:02:26 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3B56C71418E for ; Fri, 20 Jul 2007 14:02:06 -0700 (PDT) Message-ID: <22598174.1184965326208.JavaMail.jira@brutus> Date: Fri, 20 Jul 2007 14:02:06 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2966) rs.moveToInsertRow() causes loss of connection with TERRITORY_BASED collation. In-Reply-To: <11250603.1184965086258.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-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-2966: ---------------------------------- Attachment: NoConnectionBug.java java NoConnectionBug UCS_BASIC collation Testing updateShort on SQL type SMALLINT PASS: moveInsertRow did not cause loss of connection [snip all ok for UCSBASIC] Territory no_NO Testing updateShort on SQL type SMALLINT Exception in thread "main" java.sql.SQLException: No current connection. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:88) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:104) at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Util.java:208) at org.apache.derby.impl.jdbc.EmbedStatement.checkExecStatus(EmbedStatement.java:1396) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java:1649) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeQuery(EmbedPreparedStatement.java:275) at NoConnectionBug.runTestUpdateXXXAllDataTypesInsertRow(NoConnectionBug.java:171) at NoConnectionBug.testUpdateXXXAllDataTypesInsertRow(NoConnectionBug.java:202) at NoConnectionBug.main(NoConnectionBug.java:110) > rs.moveToInsertRow() causes loss of connection with TERRITORY_BASED collation. > ------------------------------------------------------------------------------ > > Key: DERBY-2966 > URL: https://issues.apache.org/jira/browse/DERBY-2966 > Project: Derby > Issue Type: Bug > Affects Versions: 10.4.0.0 > Reporter: Kathey Marsden > Priority: Critical > Attachments: NoConnectionBug.java > > > In the attached test case, rs.moveToInsertRow() causes loss of the connection with a TERRITORY_BASED collation database. With UCS_BASIC it is fine. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.