Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » JPA2.1
JPA2.1 [message #662069] Tue, 29 March 2011 07:08
Tom Eugelink is currently offline Tom EugelinkFriend
Messages: 807
Registered: July 2009
Senior Member
Dear Oracle people,

Just read the specs for JPA2.1 and found one thing that I really miss in JPA absent: events in which changes to the BM are formally allowed. In the last few years I've posted myself and have seen many posts by other in this mailinglist on the fact that the before-persist, before-merge, etc events are only partial usable. The main issue is that if you modify entities in these events the changes may or may not be included in the database. In order to write good encapsulated business models these types of events are a necessity; at the moment I have pieces of such code in my UI (and have to repeat them in my web UI and SOAP interface). I believe the pass that generates the events and the pass that does the actual persisting should be separated. And because of changes being made during the event-pass, multiple event-passes may be required.

Do you know if I can just bring this concern to Linda DeMichiel's attention by emailing her? Or is there a more formal way to address the JPA 2.1 committee?

Tom
Previous Topic:Cache coordination
Next Topic:Surrogate auto-generated VS natural primary keys with JPA
Goto Forum:
  


Current Time: Fri Dec 19 23:31:46 GMT 2014

Powered by FUDForum. Page generated in 0.01650 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software