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

Bug 316271

Summary: WDF tests TestCascadeFlush, TestCascadePersist, TestPersist check for wrong exception
Product: z_Archived Reporter: Sabine Heider <sabine.heider>
Component: EclipselinkAssignee: Adrian Goerler <adrian.goerler>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: adrian.goerler, eclipselink.orm-inbox, sabine.heider
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: test
Bug Depends on:    
Bug Blocks: 309681    
Attachments:
Description Flags
Patch fixing the test cases
none
patch fixing thes test cases peter.krogh: iplog+

Description Sabine Heider CLA 2010-06-09 07:37:51 EDT
The following WDF tests check for the wrong type of exception according to the JPA specification when performing a persist operation on a detached entity:

jpa/eclipselink.jpa.wdf.test
  org.eclipse.persistence.testing.tests.wdf.jpa1.entitymanager
    TestCascadeFlush.testSimpleCascadeToDetached1
    TestCascadeFlush.testSimpleCascadeToDetached2a
    TestCascadeFlush.testSimpleCascadeToDetached2b
    TestCascadeFlush.testSimpleCascadeToDetached2c
    TestCascadePersist.testSimpleCascadeDetached
    TestPersist.testPersistDetached
Comment 1 Sabine Heider CLA 2010-06-09 07:40:03 EDT
Created attachment 171513 [details]
Patch fixing the test cases
Comment 2 Adrian Goerler CLA 2010-10-05 03:42:47 EDT
Created attachment 180228 [details]
patch fixing thes test cases
Comment 3 Adrian Goerler CLA 2010-10-05 03:50:11 EDT
Contributed by Sabine Heider
Reviewed by Adrian 
Checked in at #8310 
Tested on MaxDB
Updated IP log: http://wiki.eclipse.org/EclipseLink/IPLog#2.2_Contributions
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:04:55 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink