Bug 387508 - Have CommitException include the Store-Exception as cause
Summary: Have CommitException include the Store-Exception as cause
Status: REOPENED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.13   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 15:36 EDT by Christoph Keimel CLA
Modified: 2020-12-11 10:37 EST (History)
1 user (show)

See Also:


Attachments
Patch that returns the Exception as Part of CommitTransactionResult (9.82 KB, application/octet-stream)
2012-08-17 15:36 EDT, Christoph Keimel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Keimel CLA 2012-08-17 15:36:51 EDT
Created attachment 220019 [details]
Patch that returns the Exception as Part of CommitTransactionResult

If the cause of a rollback during commit request is a server side exception from the store (i.e. a constraint violation), then this exception should be available on the client side as cause of the CommitException. This is, for example, the case if a "not null" or "unique" constraint in the database is not satisfied. Currently the CommitException always returns null on getCause().

Forum topic: http://www.eclipse.org/forums/index.php/mv/msg/369088/900378/#msg_900378
Comment 1 Eike Stepper CLA 2013-06-27 04:06:21 EDT
Moving all outstanding enhancements to 4.3
Comment 2 Eike Stepper CLA 2014-08-19 09:23:40 EDT
Moving all open enhancement requests to 4.4
Comment 3 Eike Stepper CLA 2014-08-19 09:35:13 EDT
Moving all open enhancement requests to 4.4
Comment 4 Eike Stepper CLA 2015-07-14 02:09:10 EDT
Moving all open bugzillas to 4.5.
Comment 5 Eike Stepper CLA 2016-07-31 00:52:04 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 6 Eike Stepper CLA 2017-12-28 01:19:14 EST
Moving all open bugs to 4.7
Comment 7 Christoph Keimel CLA 2017-12-28 08:50:33 EST
I opened this some years ago and have moved passed this since then. Since the bug doesn't have any attention I have closed it.
Comment 8 Eike Stepper CLA 2017-12-28 11:50:53 EST
I'm sorry that there wasn't more attention, but time is always limited. I plan to do some maintenance early next year, though...
Comment 9 Eike Stepper CLA 2019-11-08 02:08:47 EST
Moving all unresolved issues to version 4.8-
Comment 10 Eike Stepper CLA 2019-12-13 12:52:01 EST
Moving all unresolved issues to version 4.9
Comment 11 Eike Stepper CLA 2020-12-11 10:37:10 EST
Moving to 4.13.