[ https://issues.apache.org/jira/browse/OPENJPA-903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671118#action_12671118 ]
Milosz Tylenda commented on OPENJPA-903: ---------------------------------------- Tim, I remember it also hanging with some other databases, at least with Oracle (10g Express/Linux). Maybe DB2 also. It might be that it can be overcome by setting some database/driver property related to timeout or deadlock. > 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 > > 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.