Package org.hibernate.loader.entity

Examples of org.hibernate.loader.entity.UniqueEntityLoader.load()


      throws HibernateException {

        if (LOG.isTraceEnabled()) LOG.trace("Fetching entity: " + MessageHelper.infoString(this, id, getFactory()));

    final UniqueEntityLoader loader = getAppropriateLoader(lockOptions, session );
    return loader.load( id, optionalObject, session, lockOptions );
  }

  public void registerAffectingFetchProfile(String fetchProfileName) {
    affectingFetchProfileNames.add( fetchProfileName );
  }
View Full Code Here


    if ( LOG.isTraceEnabled() ) {
      LOG.tracev( "Fetching entity: {0}", MessageHelper.infoString( this, id, getFactory() ) );
    }

    final UniqueEntityLoader loader = getAppropriateLoader(lockOptions, session );
    return loader.load( id, optionalObject, session, lockOptions );
  }

  public void registerAffectingFetchProfile(String fetchProfileName) {
    affectingFetchProfileNames.add( fetchProfileName );
  }
View Full Code Here

    if ( LOG.isTraceEnabled() ) {
      LOG.tracev( "Fetching entity: {0}", MessageHelper.infoString( this, id, getFactory() ) );
    }

    final UniqueEntityLoader loader = getAppropriateLoader(lockOptions, session );
    return loader.load( id, optionalObject, session, lockOptions );
  }

  public void registerAffectingFetchProfile(String fetchProfileName) {
    affectingFetchProfileNames.add( fetchProfileName );
  }
View Full Code Here

    if ( LOG.isTraceEnabled() ) {
      LOG.tracev( "Fetching entity: {0}", MessageHelper.infoString( this, id, getFactory() ) );
    }

    final UniqueEntityLoader loader = getAppropriateLoader(lockOptions, session );
    return loader.load( id, optionalObject, session, lockOptions );
  }

  public void registerAffectingFetchProfile(String fetchProfileName) {
    affectingFetchProfileNames.add( fetchProfileName );
  }
View Full Code Here

      throws HibernateException {

        if (LOG.isTraceEnabled()) LOG.trace("Fetching entity: " + MessageHelper.infoString(this, id, getFactory()));

    final UniqueEntityLoader loader = getAppropriateLoader(lockOptions, session );
    return loader.load( id, optionalObject, session, lockOptions );
  }

  public void registerAffectingFetchProfile(String fetchProfileName) {
    affectingFetchProfileNames.add( fetchProfileName );
  }
View Full Code Here

    if ( LOG.isTraceEnabled() ) {
      LOG.tracev( "Fetching entity: {0}", MessageHelper.infoString( this, id, getFactory() ) );
    }

    final UniqueEntityLoader loader = getAppropriateLoader(lockOptions, session );
    return loader.load( id, optionalObject, session, lockOptions );
  }

  public void registerAffectingFetchProfile(String fetchProfileName) {
    affectingFetchProfileNames.add( fetchProfileName );
  }
View Full Code Here

          MessageHelper.infoString( this, id, getFactory() )
        );
    }

    final UniqueEntityLoader loader = getAppropriateLoader( new LockOptions().setLockMode(lockMode), session );
    return loader.load( id, optionalObject, session );
  }

  /**
   * Load an instance using either the <tt>forUpdateLoader</tt> or the outer joining <tt>loader</tt>,
   * depending upon the value of the <tt>lock</tt> parameter
View Full Code Here

          MessageHelper.infoString( this, id, getFactory() )
        );
    }

    final UniqueEntityLoader loader = getAppropriateLoader(lockOptions, session );
    return loader.load( id, optionalObject, session );
  }

  public void registerAffectingFetchProfile(String fetchProfileName) {
    affectingFetchProfileNames.add( fetchProfileName );
  }
View Full Code Here

      throws HibernateException {

        if (LOG.isTraceEnabled()) LOG.trace("Fetching entity: " + MessageHelper.infoString(this, id, getFactory()));

    final UniqueEntityLoader loader = getAppropriateLoader(lockOptions, session );
    return loader.load( id, optionalObject, session, lockOptions );
  }

  public void registerAffectingFetchProfile(String fetchProfileName) {
    affectingFetchProfileNames.add( fetchProfileName );
  }
View Full Code Here

      throws HibernateException {

        if (LOG.isTraceEnabled()) LOG.trace("Fetching entity: " + MessageHelper.infoString(this, id, getFactory()));

    final UniqueEntityLoader loader = getAppropriateLoader(lockOptions, session );
    return loader.load( id, optionalObject, session, lockOptions );
  }

  public void registerAffectingFetchProfile(String fetchProfileName) {
    affectingFetchProfileNames.add( fetchProfileName );
  }
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.