Package org.hibernate.loader.plan2.exec.process.spi

Examples of org.hibernate.loader.plan2.exec.process.spi.AbstractRowReader


    }
    else if ( loadPlan.getReturns().size() > 1 ) {
      throw new IllegalStateException( "LoadPlan contained more than one root returns" );
    }

    final Return rootReturn = loadPlan.getReturns().get( 0 );
    if ( !returnType.isInstance( rootReturn ) ) {
      throw new IllegalStateException(
          String.format(
              "Unexpected LoadPlan root return; expecting %s, but found %s",
              returnType.getName(),
              rootReturn.getClass().getName()
          )
      );
    }

    return (T) rootReturn;
View Full Code Here

TOP

Related Classes of org.hibernate.loader.plan2.exec.process.spi.AbstractRowReader

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.