Examples of applyTreatAsDeclarations()


Examples of org.hibernate.engine.internal.JoinSequence.applyTreatAsDeclarations()

      Joinable joinable = (Joinable) persister;
      final JoinSequence joinSequence = fromElement.getSessionFactoryHelper().createJoinSequence().setRoot(
          joinable,
          getTableAlias()
      );
      joinSequence.applyTreatAsDeclarations( treatAsDeclarations );
      return joinSequence;
    }
    else {
      // TODO: Should this really return null?  If not, figure out something better to do here.
      return null;
View Full Code Here

Examples of org.hibernate.engine.internal.JoinSequence.applyTreatAsDeclarations()

    // Class names in the FROM clause result in a JoinSequence (the old FromParser does this).
    if ( persister instanceof Joinable ) {
      Joinable joinable = ( Joinable ) persister;
      final JoinSequence joinSequence = fromElement.getSessionFactoryHelper().createJoinSequence().setRoot( joinable, getTableAlias() );
      joinSequence.applyTreatAsDeclarations( treatAsDeclarations );
      return joinSequence;
    }
    else {
      // TODO: Should this really return null?  If not, figure out something better to do here.
      return null;
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.