Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 70330 invoked from network); 22 Mar 2011 18:48:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Mar 2011 18:48:43 -0000 Received: (qmail 16841 invoked by uid 500); 22 Mar 2011 18:48:43 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 16800 invoked by uid 500); 22 Mar 2011 18:48:43 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 16792 invoked by uid 99); 22 Mar 2011 18:48:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2011 18:48:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2011 18:48:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BD697428DE for ; Tue, 22 Mar 2011 18:48:05 +0000 (UTC) Date: Tue, 22 Mar 2011 18:48:05 +0000 (UTC) From: "Rick Curtis (JIRA)" To: dev@openjpa.apache.org Message-ID: <1537793572.4349.1300819685772.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <16646914.135161294155525243.JavaMail.jira@thor> Subject: [jira] [Commented] (OPENJPA-1916) error in daytrader example 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/OPENJPA-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009777#comment-13009777 ] Rick Curtis commented on OPENJPA-1916: -------------------------------------- @Mark Thoughts on closing this JIRA since it appears that it is an unrepeatable problem? If it rears it's head again, we can reopen and investigate. > error in daytrader example > -------------------------- > > Key: OPENJPA-1916 > URL: https://issues.apache.org/jira/browse/OPENJPA-1916 > Project: OpenJPA > Issue Type: Bug > Reporter: Mark Struberg > Assignee: Rick Curtis > Priority: Minor > > Caused by: org.apache.openjpa.persistence.EntityExistsException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL101231130328100' defined on 'QUOTEEJB'. {prepstmnt 2067056127 INSERT INTO quoteejb (SYMBOL, CHANGE1, COMPANYNAME, HIGH, LOW, OPEN1, PRICE, VOLUME) VALUES (?, ?, ?, ?, ?, ?, ?, ?) [params=?, ?, ?, ?, ?, ?, ?, ?]} [code=20000, state=23505] > FailedObject: org.apache.openjpa.integration.daytrader.QuoteDataBean@39757337 > at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4854) > at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4829) > at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136) > at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:78) > at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:143) > so it's not possible to perform a build -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira