Community
Participate
Working Groups
Created attachment 227785 [details] Complete maven project for the test. Environment: Java(TM) SE Runtime Environment (build 1.7.0_13-b20) Apache Maven 3.0.4 (r1232337; 2012-01-17 14:14:56+0530) I have an entity 'Person', with field 'name' marked as @Column(..., updatable=false). If I change the value (with setName(...), and then try to merge the object, merge returns me an object with the updated value, but no 'UPDATE' statement is executed. This is correct, merge is ignoring 'name' field, bucause of 'update=false'. The bug is in what it returns. It is returning an object which never persisted, nor will it ever persist. In this case merge needs to return me object with NO changes to 'name' field. Complete test-project is attached. Reproducibility : Always
Setting target and priority. See the following page for the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines Community: Please vote for this bug if it is important to you. Votes are one of the main criteria we use to determine which bugs to fix next.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink