Community
Participate
Working Groups
CascadeDeletesJUnitTestSuite worked fine out of application server, but failed on application server during setup with the following exception: <testcase classname="org.eclipse.persistence.testing.tests.jpa.cascadedeletes.CascadeDeletesJUnitTestSuite" name="testSetup" time="5.266"> <error message=" Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00972: identifier is too long Error Code: 972" type="org.eclipse.persistence.exceptions.DatabaseException">Local Exception Stack: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.0.0.qualifier): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00972: identifier is too long
Just change "foreignKeyMACHINESTATE_THREADINFO_THREADINFO" to "foreignKeyM_THREADINFO_THREADINFO" in CascadeDeleteTableCreator.java, and add this suite into server-test-lrg. Code reviewed by Yiping Zhao. Revision: 4913
Mass update to change fixed in target.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink