public Object updateVersion(CmpEntityBeanContext ctx) {
   Object next = keyGenerator.generateKey();
   setInstanceValue(ctx, next);
   return next;
 }
 public void setFirstVersion(CmpEntityBeanContext ctx) {
   Object version = keyGenerator.generateKey();
   setInstanceValue(ctx, version);
 }