Package org.hibernate.action

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


          );
      }
      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

   * @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

      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

          );
      }
      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

      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

TOP

Related Classes of org.hibernate.action.CollectionRemoveAction

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.