Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311856 - WDF test TestPersist and TestMerge use non-entity subclass
Summary: WDF test TestPersist and TestMerge use non-entity subclass
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Adrian Goerler CLA
QA Contact:
URL: http://wiki.eclipse.org/Talk:EclipseL...
Whiteboard: test simple_fix
Keywords:
Depends on:
Blocks: 309681
  Show dependency tree
 
Reported: 2010-05-06 07:25 EDT by Adrian Goerler CLA
Modified: 2022-06-09 10:02 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Goerler CLA 2010-05-06 07:25:33 EDT
The tests 

jpa/eclipselink.jpa.wdf.test
  org.eclipse.persistence.testing.tests.wdf.jpa1.entitymanager
     TestPersist and TestMerge

use the non-entity subclass "NastyTimestamp". EclipseLink does not support non-entity subclasses.
Comment 1 Adrian Goerler CLA 2010-05-06 07:45:55 EDT
changed the following:
- removed entiy "NastyTimestamp" 
- created new entity "Nasty" which is no non-entity subclass
- changed TestPersist and TestMerge to use entity "Nasty" instead of "NastyTimestamp"
- made the test methods testNastyTimestampTwice[NotIntial] more tolerant so that a failing commit is also OK for the test

tests on MySQL -> OK (besides 7 known issues)

checked in at 7170
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:02:43 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink