Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 89000 invoked from network); 6 Jun 2005 11:44:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2005 11:44:02 -0000 Received: (qmail 21132 invoked by uid 500); 6 Jun 2005 11:43:59 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 21110 invoked by uid 500); 6 Jun 2005 11:43:59 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 21094 invoked by uid 99); 6 Jun 2005 11:43:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Jun 2005 04:43:55 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B884A1B1 for ; Mon, 6 Jun 2005 13:43:43 +0200 (CEST) Message-ID: <904299186.1118058223754.JavaMail.jira@ajax.apache.org> Date: Mon, 6 Jun 2005 13:43:43 +0200 (CEST) From: =?UTF-8?Q?=C3=98ystein_Gr=C3=B8vlen_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-230) "Schema already exists" when creating a table In-Reply-To: <509305744.1113981691068.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-230?page=3Dall ] =20 =C3=98ystein Gr=C3=B8vlen closed DERBY-230: --------------------------------- > "Schema already exists" when creating a table > --------------------------------------------- > > Key: DERBY-230 > URL: http://issues.apache.org/jira/browse/DERBY-230 > Project: Derby > Type: Bug > Components: SQL > Versions: 10.0.2.1, 10.0.2.0, 10.0.2.2, 10.1.0.0 > Reporter: =C3=98ystein Gr=C3=B8vlen > Assignee: =C3=98ystein Gr=C3=B8vlen > Priority: Minor > Fix For: 10.1.0.0 > Attachments: Main.java, derby-230c.diff > > When running a multithreaded program where several threads in parallell c= reate tables in a schema that is not explicitly created, one often get the = following exception: > ERROR X0Y68: Schema 'TESTSCHEMA' already exists. > at org.apache.derby.iapi.error.StandardException.newException(Standar= dException.java:322) > at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.duplicateDesc= riptorException(DataDictionaryImpl.java:1512) > at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor= Now(DataDictionaryImpl.java:1496) > at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor= (DataDictionaryImpl.java:1478) > at org.apache.derby.impl.sql.execute.CreateSchemaConstantAction.execu= teConstantAction(CreateSchemaConstantAction.java:147) > at org.apache.derby.impl.sql.execute.DDLConstantAction.getSchemaDescr= iptorForCreate(Unknown Source) > at org.apache.derby.impl.sql.execute.CreateTableConstantAction.execut= eConstantAction(CreateTableConstantAction.java:213) > at org.apache.derby.impl.sql.execute.MiscResultSet.open(MiscResultSet= .java:56) > at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Generic= PreparedStatement.java:366) > at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedSt= atement.java:1108) > at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.j= ava:517) > at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.j= ava:475) > at derbytest.Main$CreateTable.run(Main.java:42) > at java.lang.Thread.run(Thread.java:595) > A program that reproduces this bug will be attached. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira