Validation on preUpdate checks unchanged entities [message #1064228] |
Tue, 18 June 2013 06:38  |
Eclipse User |
|
|
|
EclipseLink JPA validates every loaded entity object when one of them gets updated - even those which are unchanged within the current persistence context.
As far as I understand the specification, only dirty objects (i. e. objects causing the preUpdate) should be validated.
In our case the EclipseLink behaviour is a complete show stopper: For reasons beyond this posting we have objects breaking validation constraints loaded into the entity manager. One of them is then updated to meet the validation constraints. But we cannot store the updated object because of EclipseLink keeps complaining about the others, which are still unchanged.
Is there an option to turn the validation process into regarding changed objects only?
Regards
Dirk
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05084 seconds