While looking at the fix for HIVE-16886, I noticed that DataNucleus
provides a generic way of doing SELECT FOR UPDATE so it is possible to
achieve this with just a single-line change rather then the big fix
introduced by HIVE-16886.

What do people think about redoing the fix by using DataNucleus way?

The fix is to do

  query = pm.newQuery(MNotificationNextId.class);
  query.setSerializeRead(true);


- Alex

Reply via email to