| Summary: | WDF tests TestCascadeFlush, TestCascadePersist, TestPersist check for wrong exception | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Sabine Heider <sabine.heider> | ||||||
| Component: | Eclipselink | Assignee: | 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: |
|
||||||||
Created attachment 171513 [details]
Patch fixing the test cases
Created attachment 180228 [details]
patch fixing thes test cases
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 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
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