openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1916) error in daytrader example
Date Tue, 04 Jan 2011 19:59:46 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977433#action_12977433
] 

Mark Struberg commented on OPENJPA-1916:
----------------------------------------

Yes, I tried to resume the build from an OutOfMemoryException ("cannot create new native thread")
which I regularly get from TestQueryMultiThreaded#testHeavyLoad().

I now did run a clean build and all worked well. So this whole test suite is not restartable?

> 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
>
> Caused by: <openjpa-2.2.0-SNAPSHOT-r422266:1054717M fatal store error> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message