Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 387636 - JPA-RS: Swallowed exception in PersistenceContext::updateOrAddAttribute
Summary: JPA-RS: Swallowed exception in PersistenceContext::updateOrAddAttribute
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: jpa-rs submitted_patch
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-20 14:45 EDT by Gul Onural CLA
Modified: 2022-06-09 10:19 EDT (History)
1 user (show)

See Also:


Attachments
Proposed patch (1.43 KB, patch)
2012-08-24 12:54 EDT, Gul Onural CLA
tom.ware: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gul Onural CLA 2012-08-20 14:45:07 EDT
The updateOrAddAttribute method in org.eclipse.persistence.jpa.rs.PersistenceContext class 
swallows exceptions that can be thrown by the entity manager merge operation.
Comment 1 Gul Onural CLA 2012-08-24 12:54:37 EDT
Created attachment 220283 [details]
Proposed patch
Comment 2 Tom Ware CLA 2012-08-27 14:38:55 EDT
Patch checked in as supplied

Reviewed: Tom Ware reviewed for submitter

Tested with JPA RS tests on both server and Java SE
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:19:29 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink