Package org.hibernate.action

Examples of org.hibernate.action.CollectionAction


    queueSize = ois.readInt();
        LOG.trace("Starting deserialization of [" + queueSize + "] collectionUpdates entries");
    rtn.collectionUpdates = new ArrayList<Executable>( queueSize );
    for ( int i = 0; i < queueSize; i++ ) {
      CollectionAction action = ( CollectionAction ) ois.readObject();
      action.afterDeserialize( session );
      rtn.collectionUpdates.add( action );
    }

    queueSize = ois.readInt();
        LOG.trace("Starting deserialization of [" + queueSize + "] collectionRemovals entries");
    rtn.collectionRemovals = new ArrayList<Executable>( queueSize );
    for ( int i = 0; i < queueSize; i++ ) {
      CollectionAction action = ( CollectionAction ) ois.readObject();
      action.afterDeserialize( session );
      rtn.collectionRemovals.add( action );
    }

    queueSize = ois.readInt();
        LOG.trace("Starting deserialization of [" + queueSize + "] collectionCreations entries");
    rtn.collectionCreations = new ArrayList<Executable>( queueSize );
    for ( int i = 0; i < queueSize; i++ ) {
      CollectionAction action = ( CollectionAction ) ois.readObject();
      action.afterDeserialize( session );
      rtn.collectionCreations.add( action );
    }
    return rtn;
  }
View Full Code Here

TOP

Related Classes of org.hibernate.action.CollectionAction

Copyright © 2018 www.massapicom. 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.