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 ADBF5D49F for ; Sun, 4 Nov 2012 19:42:14 +0000 (UTC) Received: (qmail 91473 invoked by uid 500); 4 Nov 2012 19:42:14 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 91432 invoked by uid 500); 4 Nov 2012 19:42:14 -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 91315 invoked by uid 99); 4 Nov 2012 19:42:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Nov 2012 19:42:13 +0000 Date: Sun, 4 Nov 2012 19:42:13 +0000 (UTC) From: "Tom Deering (JIRA)" To: derby-dev@db.apache.org Message-ID: <1494015959.66298.1352058133901.JavaMail.jiratomcat@arcas> In-Reply-To: <350024079.66281.1352058132533.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (DERBY-5981) Derby INSERT Causes java.lang.StackOverflowError 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-5981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom Deering updated DERBY-5981: ------------------------------- Description: Apache Derby 10.9.1.0 causes a java.lang.StackOverflowError with large INSERT statements. Here, "large" means 5000+ rows. I am using Derby in a Java application in the following way. String insertString = buildSQLInsertString(); Statement stmt = connection.createStatement(); stmt.execute(insertString); // StackOverflowError I have tried calling this in different ways, including with PreparedStatement. This code works fine for smallish inserts, but overflows the stack for anything modestly large. I'm a newcomer to database development and also to Apache Derby, so suggestions for details to make this bug report more useful would be welcome. was: Apache Derby 10.9.1.0 causes a java.lang.StackOverflowError with large INSERT statements. Here, "large" means 5000+ rows. I am using Derby in a Java application in the following way. String insertString = buildSQLInsertString(); Statement stmt = connection.createStatement(); stmt.execute(insertString); // StackOverflowError I have tried calling this in different ways, including with PreparedStatement. This code works fine for smallish inserts, but overflows the stack for anything modestly large. I'm a newcomer to database development also to Apache Derby, so suggestions for details to make this bug report more useful would be welcome. > Derby INSERT Causes java.lang.StackOverflowError > ------------------------------------------------ > > Key: DERBY-5981 > URL: https://issues.apache.org/jira/browse/DERBY-5981 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.9.1.0 > Environment: Ubuntu Linux 12.04.1 64-bit, Sun Java 1.7.0_09, Derby 10.9.1.0 > Reporter: Tom Deering > > Apache Derby 10.9.1.0 causes a java.lang.StackOverflowError with large INSERT statements. Here, "large" means 5000+ rows. I am using Derby in a Java application in the following way. > String insertString = buildSQLInsertString(); > Statement stmt = connection.createStatement(); > stmt.execute(insertString); // StackOverflowError > I have tried calling this in different ways, including with PreparedStatement. This code works fine for smallish inserts, but overflows the stack for anything modestly large. > I'm a newcomer to database development and also to Apache Derby, so suggestions for details to make this bug report more useful would be welcome. -- 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