EclipseLink error : Null primary key encountered in unit of work clone
With EclipseLink used as the JPA provider, the following error message “Null primary key encountered in unit of work clone” may appear if the value 0 is used for a field which is a primary key. To resolve it, a few solutions : 1) start your primary key values from 1 instead of 0, which … Read more