[ 
https://issues.apache.org/jira/browse/OPENJPA-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim McConnell updated OPENJPA-903:
----------------------------------

    Attachment: OPENJPA-903.patch

Patch attached to commit the first transaction before flushing and then 
committing the second transaction. This will fix the 
testThrowsOptimisticException testcase and prevent hangs during the maven 
build. Now works on Derby, DB2, Oracle, and PostgreSQL databases. 

> org.apache.openjpa.persistence.exception.TestException hangs when run using 
> PostgreSQL 8.3 database 
> ----------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-903
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-903
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: jdbc
>    Affects Versions: 2.0.0
>         Environment: Windows 2003 Server, maven 2.0.9, Java 1.5.0.15, 
> PostgreSQL 8.3.5
>            Reporter: Tim McConnell
>            Assignee: Tim McConnell
>         Attachments: OPENJPA-903.patch
>
>
> Seems to be hanging in the testThrowsOptimisticException() testcase -- see 
> below:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.openjpa.persistence.exception.TestException
> 31  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.0.0-SNAPSHOT
> 484  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
> "org.apache.openjpa.jdbc.sql.PostgresDictionary" (PostgreSQL 8.3.5 
> ,PostgreSQL Native Driver PostgreSQL 8.3 JDBC3 with SSL (build 603)).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to