Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 289020 - table sequence name in JUnit test hard-coded
Summary: table sequence name in JUnit test hard-coded
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: submitted_patch
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 20:52 EDT by Dies Koper CLA
Modified: 2022-06-09 10:27 EDT (History)
1 user (show)

See Also:


Attachments
obtain the default sequence table name from the platform class (2.08 KB, patch)
2009-09-09 20:52 EDT, Dies Koper CLA
peter.krogh: iplog+
Details | Diff
Patch for bugs 289019-289023 (55.24 KB, text/plain)
2009-09-11 16:25 EDT, Tom Ware CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dies Koper CLA 2009-09-09 20:52:51 EDT
Created attachment 146825 [details]
obtain the default sequence table name from the platform class

On the Symfoware platform I'm using a platform default sequence with a
different name than SEQUENCE as this table name is not allowed on Symfoware
(reserved SQL keyword).
This leads to a failing JUnit test as the test tries to delete (clear) the
sequence table with a hard-coded table name.

Attaching a patch to obtain the table name from the platform class.
Comment 1 Tom Ware CLA 2009-09-11 16:25:59 EDT
Created attachment 147000 [details]
Patch for bugs 289019-289023
Comment 2 Tom Ware CLA 2009-09-11 16:29:42 EDT
Checked in fix for bug 289019, bug 289020, bug 289021 and bug 289023

These fixes are changes suggested by the bug filer and are reasonably simple.

I have reviewed the changes as they were added and run the existing tests to ensure they do not break anything.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:27:16 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink