Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316271 - WDF tests TestCascadeFlush, TestCascadePersist, TestPersist check for wrong exception
Summary: WDF tests TestCascadeFlush, TestCascadePersist, TestPersist check for wrong e...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Adrian Goerler CLA
QA Contact:
URL:
Whiteboard: test
Keywords:
Depends on:
Blocks: 309681
  Show dependency tree
 
Reported: 2010-06-09 07:37 EDT by Sabine Heider CLA
Modified: 2022-06-09 10:04 EDT (History)
3 users (show)

See Also:


Attachments
Patch fixing the test cases (9.67 KB, patch)
2010-06-09 07:40 EDT, Sabine Heider CLA
no flags Details | Diff
patch fixing thes test cases (11.86 KB, patch)
2010-10-05 03:42 EDT, Adrian Goerler CLA
peter.krogh: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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