Examples of CollectionRemoveAction


Examples of org.hibernate.action.CollectionRemoveAction

          );
      }
      if ( ce.isDoremove() ) {
        session.getInterceptor().onCollectionRemove( coll, ce.getLoadedKey() );
        actionQueue.addAction(
            new CollectionRemoveAction(
                coll,
                ce.getLoadedPersister(),
                ce.getLoadedKey(),
                ce.isSnapshotEmpty(coll),
                session
View Full Code Here

Examples of org.hibernate.action.CollectionRemoveAction

          );
      }
      if ( ce.isDoremove() ) {
        session.getInterceptor().onCollectionRemove( coll, ce.getLoadedKey() );
        actionQueue.addAction(
            new CollectionRemoveAction(
                coll,
                ce.getLoadedPersister(),
                ce.getLoadedKey(),
                ce.isSnapshotEmpty(coll),
                session
View Full Code Here

Examples of org.hibernate.action.CollectionRemoveAction

   * @throws HibernateException
   */
  void removeCollection(CollectionPersister role, Serializable collectionKey, EventSource source) throws HibernateException {
        if (LOG.isTraceEnabled()) LOG.trace("Collection dereferenced while transient "
                                            + MessageHelper.collectionInfoString(role, ownerIdentifier, source.getFactory()));
    source.getActionQueue().addAction( new CollectionRemoveAction( owner, role, collectionKey, false, source ) );
  }
View Full Code Here

Examples of org.hibernate.action.CollectionRemoveAction

      throw new HibernateException(
        "You may not dereference a collection with cascade=\"all-delete-orphan\": " +
        MessageHelper.infoString(role, id)
      );
    }*/
    source.getActionQueue().addAction( new CollectionRemoveAction( null, role, id, false, source ) );
  }
View Full Code Here

Examples of org.hibernate.action.CollectionRemoveAction

          );
      }
      if ( ce.isDoremove() ) {
        session.getInterceptor().onCollectionRemove( coll, ce.getLoadedKey() );
        actionQueue.addAction(
            new CollectionRemoveAction(
                coll,
                ce.getLoadedPersister(),
                ce.getLoadedKey(),
                ce.isSnapshotEmpty(coll),
                session
View Full Code Here

Examples of org.hibernate.action.CollectionRemoveAction

      log.trace(
          "collection dereferenced while transient " +
          MessageHelper.collectionInfoString( role, ownerIdentifier, source.getFactory() )
      );
    }
    source.getActionQueue().addAction( new CollectionRemoveAction( null, role, collectionKey, false, source ) );
  }
View Full Code Here

Examples of org.hibernate.action.internal.CollectionRemoveAction

      LOG.tracev(
          "Collection dereferenced while transient {0}",
          MessageHelper.collectionInfoString( role, ownerIdentifier, source.getFactory() )
      );
    }
    source.getActionQueue().addAction( new CollectionRemoveAction( owner, role, collectionKey, false, source ) );
  }
View Full Code Here

Examples of org.hibernate.action.internal.CollectionRemoveAction

          );
      }
      if ( ce.isDoremove() ) {
        session.getInterceptor().onCollectionRemove( coll, ce.getLoadedKey() );
        actionQueue.addAction(
            new CollectionRemoveAction(
                coll,
                ce.getLoadedPersister(),
                ce.getLoadedKey(),
                ce.isSnapshotEmpty(coll),
                session
View Full Code Here

Examples of org.hibernate.action.internal.CollectionRemoveAction

          );
      }
      if ( ce.isDoremove() ) {
        session.getInterceptor().onCollectionRemove( coll, ce.getLoadedKey() );
        actionQueue.addAction(
            new CollectionRemoveAction(
                coll,
                ce.getLoadedPersister(),
                ce.getLoadedKey(),
                ce.isSnapshotEmpty(coll),
                session
View Full Code Here

Examples of org.hibernate.action.internal.CollectionRemoveAction

  void removeCollection(CollectionPersister role, Serializable collectionKey, EventSource source) throws HibernateException {
    if ( LOG.isTraceEnabled() ) {
      LOG.tracev( "Collection dereferenced while transient {0}",
          MessageHelper.collectionInfoString( role, ownerIdentifier, source.getFactory() ) );
    }
    source.getActionQueue().addAction( new CollectionRemoveAction( owner, role, collectionKey, false, source ) );
  }
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.