Bug 287113 - CascadeDeletesJUnitTestSuite failed on Server with Table Creator issue
Summary: CascadeDeletesJUnitTestSuite failed on Server with Table Creator issue
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-08-19 15:08 EDT by Kevin Yuan CLA
Modified: 2022-06-09 10:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Yuan CLA 2009-08-19 15:08:58 EDT
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
Comment 1 Kevin Yuan CLA 2009-08-19 15:40:16 EDT
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
Comment 2 Peter Krogh CLA 2009-08-26 09:59:02 EDT
Mass update to change fixed in target.
Comment 3 Peter Krogh CLA 2009-08-26 10:01:36 EDT
Mass update to change fixed in target.
Comment 4 Peter Krogh CLA 2009-08-26 10:06:33 EDT
Mass update to change fixed in target.
Comment 5 Peter Krogh CLA 2009-08-26 10:08:35 EDT
Mass update to change fixed in target.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:25:17 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink