Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349389

Summary: Support on Symfoware database V10.0
Product: z_Archived Reporter: Masumi Ito <masumii>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: abdullahn, dieskun, eclipselink.orm-inbox, masumii, tetyanac, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: submitted_patch
Attachments:
Description Flags
Patch for support on Symfoware tom.ware: iplog+

Description Masumi Ito CLA 2011-06-14 21:20:17 EDT
Build Identifier: 

Hi

In bug#339458, we provided the patch for symfoware support 
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=339458).
However we have additional changes.
For the further enhancements, we would like to submit a patch 
for your review for EclipseLink 2.3.1.

The changes we made were:
1. Changes for DeleteAllQuery
   Call DELETE SQL directly instead of DeleteAllQuery() for resetting test.
2. Changes for UpdateAllQuery (MultiTenant)
   Skip a part of multitenant tests using JOIN strategy because of calling UpdateAllQuery().
3. Changes for table locking issue
   Use TogglingFastTableCreator to avoid table locking issue.
4. Changes for sequence name issue
   Change the sequence name to resolve collision of creating a sequence with the same name.
   We have to define a uniq sequence name because Symfoware needs to skip dropping the sequence
   during executing tests to avoid sequence locking issue.
5. cascade delete changes for secondary table
   bug#339458 introduced cascade deletes changes for platforms that do not support cascade delete on
   constraints. However these changes targeted cascade deletes for foreign key relations.
   We need similar changes for secondary table. Therefore add casecade delete changes for secondary table.

Regards
Masumi

Fujitsu Australia Software Technology

Reproducible: Always
Comment 1 Masumi Ito CLA 2011-06-14 21:34:30 EDT
Created attachment 197995 [details]
Patch for support on Symfoware
Comment 2 Tom Ware CLA 2011-06-16 14:32:05 EDT
Setting initial target to 2.3.1.  I will investigate when the stream opens and update if there is a change.
Comment 3 Tom Ware CLA 2011-07-05 15:49:21 EDT
Fix checked into Trunk and 2.3.1

Review: I reviewed user-submitted patch

Tested with Core LRG and JPA LRG

Symfoware testing should be done by subitter
Comment 4 Masumi Ito CLA 2011-07-11 20:41:11 EDT
I confirmed that all tests pass on EclipseLink2.3.1_r9697 + SymfowareV10.0.
Thank you.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:32:28 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink