Examples of speedoChangeVersion()


Examples of org.objectweb.speedo.mim.api.StateItf.speedoChangeVersion()

      // restore the state to detached_none
      if (oid == null) {
        sar.restoreDetachedNone();
      }
      //change the version on attach
      sar.speedoChangeVersion();
        sp.speedoGetHome().sendEvent(HomeItf.POST_ATTACH, sp, null);
      return sp;
    } catch (Exception e) {
      Exception ie = ExceptionHelper.getNested(e);
      String msg = "Impossible to attach a copy of the persistent object with the identifier: " + oid;
View Full Code Here

Examples of org.objectweb.speedo.mim.api.StateItf.speedoChangeVersion()

    public State bind(State state, Object oid, byte mode) {
        State old = super.bind(state, oid, mode);
        if(! (state instanceof VirtualState)){
            if (mode == BasicWorkingSet.WRITE_INTENTION) {
                StateItf sa = (StateItf) state;
                sa.speedoChangeVersion();
            }
        }
        return old;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.