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

Bug 319856

Summary: some WDF tests can be unskipped as entity TravelProfile is functioning now
Product: z_Archived Reporter: Adrian Goerler <adrian.goerler>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.orm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://wiki.eclipse.org/Talk:EclipseLink/Bugs/309681#Forward_mapper_maps_byte.5B.5D_to_BLOB_even_if_not_annotated_with_.40Lob
Whiteboard: test simple_fix
Attachments:
Description Flags
patch activating the before mentioned tests
none
2dn part of patch containing missing changes. none

Description Adrian Goerler CLA 2010-07-14 09:52:03 EDT
Some tests of the test suite eclipselink.jpa.wdf.test were skipped due to the issue that the EclipseLink forward mapper creates BLOBs for byte array attributes by default. This issue can be worked around using an explicit columnDefinition. With this woraround, some tests formerly skipped can be activated:

org.eclipse.persistence.testing.tests.wdf.jpa1.inheritance.CallbackTest
- testPreRemove

org.eclipse.persistence.testing.tests.wdf.jpa1.relation.TestBidirectionalManyToMany
- testByteItem
- testCascadeMerge
- testGuidCollection

org.eclipse.persistence.testing.tests.wdf.jpa1.relation.TestUnidirectionalOneToOne
- testMoveTravelProfile
- testUnchanged
Comment 1 Adrian Goerler CLA 2010-07-14 09:55:35 EDT
Created attachment 174291 [details]
patch activating the before mentioned tests
Comment 2 Adrian Goerler CLA 2010-07-14 09:59:44 EDT
Checked in in trunk at # 7816.
Tested on MySQL.
Comment 3 Adrian Goerler CLA 2010-07-15 04:59:13 EDT
patch does not contain changes for TestBidirectionalManyToMany and TestUnidirectionalOneToOne.
Comment 4 Adrian Goerler CLA 2010-07-15 04:59:52 EDT
Created attachment 174375 [details]
2dn part of patch containing missing changes.
Comment 5 Adrian Goerler CLA 2010-07-15 05:01:35 EDT
Checked in at rev # 7826.

Tested on MYSQL -> 822 Tests OK.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:30:00 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink