How to handle "null primary key encountered" exception in eclipselink?
- by den-javamaniac
Hi. I'm catching
... Null primary key encountered in unit of work clone ...
exception in eclipselink(2.0.2 with 2.0 jpa) literally meaning that id in my entity is <=0 (for primitive types). Though debug here states that everything's fine and I have nothing to worry about. My AS is glassfish v3. Can any one point out what may cause such behavior?