users@glassfish.java.net

ToplinkEssential's entityManager#merge + null _at_Version == Exception

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Tue, 13 Feb 2007 02:28:25 +0100

Hello there,
as I can see in my project, entityManager throws Concurrent
modification exception when I am using merge on non-existing entity
when it's @Version field is null.
I read that #merge should act pretty like the same as #persist when
given entity doesn't exist and ToplinkEssentials implementation does
not work that way.
Is that correct behavior?