Examples of addQueryReturn()


Examples of org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn()

          type = mappings.getTypeResolver().heuristicType( typeFromXML );
          if ( type == null ) {
            throw new MappingException( "could not determine type " + type );
          }
        }
        definition.addQueryReturn( new NativeSQLQueryScalarReturn( column, type ) );
      }
      else if ( "return".equals( name ) ) {
        definition.addQueryReturn( bindReturn( returnElem, mappings, cnt ) );
      }
      else if ( "return-join".equals( name ) ) {
View Full Code Here

Examples of org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn()

          }
        }
        definition.addQueryReturn( new NativeSQLQueryScalarReturn( column, type ) );
      }
      else if ( "return".equals( name ) ) {
        definition.addQueryReturn( bindReturn( returnElem, mappings, cnt ) );
      }
      else if ( "return-join".equals( name ) ) {
        definition.addQueryReturn( bindReturnJoin( returnElem, mappings ) );
      }
      else if ( "load-collection".equals( name ) ) {
View Full Code Here

Examples of org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn()

      }
      else if ( "return".equals( name ) ) {
        definition.addQueryReturn( bindReturn( returnElem, mappings, cnt ) );
      }
      else if ( "return-join".equals( name ) ) {
        definition.addQueryReturn( bindReturnJoin( returnElem, mappings ) );
      }
      else if ( "load-collection".equals( name ) ) {
        definition.addQueryReturn( bindLoadCollection( returnElem, mappings ) );
      }
    }
View Full Code Here

Examples of org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn()

      }
      else if ( "return-join".equals( name ) ) {
        definition.addQueryReturn( bindReturnJoin( returnElem, mappings ) );
      }
      else if ( "load-collection".equals( name ) ) {
        definition.addQueryReturn( bindLoadCollection( returnElem, mappings ) );
      }
    }
    return definition;
  }
View Full Code Here

Examples of org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn()

          "alias" + entityAliasIndex++,
          entity.entityClass().getName(),
          propertyResults,
          LockMode.READ
      );
      definition.addQueryReturn( result );
    }

    for ( ColumnResult column : ann.columns() ) {
      definition.addQueryReturn(
          new NativeSQLQueryScalarReturn(
View Full Code Here

Examples of org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn()

      );
      definition.addQueryReturn( result );
    }

    for ( ColumnResult column : ann.columns() ) {
      definition.addQueryReturn(
          new NativeSQLQueryScalarReturn(
              mappings.getObjectNameNormalizer().normalizeIdentifierQuoting(
                  column.name()
              ),
              null
View Full Code Here

Examples of org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn()

                mappings.getObjectNameNormalizer().normalizeIdentifierQuoting( columnResult.name() ),
                null
            )
        );
      }
      definition.addQueryReturn(
          new NativeSQLQueryConstructorReturn( constructorResult.targetClass(), columnReturns )
      );
    }

    if ( isDefault ) {
View Full Code Here

Examples of org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn()

          "alias" + entityAliasIndex++,
          entity.entityClass().getName(),
          propertyResults,
          LockMode.READ
      );
      definition.addQueryReturn( result );
    }

    for ( ColumnResult column : ann.columns() ) {
      definition.addQueryReturn(
          new NativeSQLQueryScalarReturn(
View Full Code Here

Examples of org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn()

      );
      definition.addQueryReturn( result );
    }

    for ( ColumnResult column : ann.columns() ) {
      definition.addQueryReturn(
          new NativeSQLQueryScalarReturn(
              mappings.getObjectNameNormalizer().normalizeIdentifierQuoting(
                  column.name()
              ),
              null
View Full Code Here

Examples of org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn()

          "alias" + entityAliasIndex++,
          entity.entityClass().getName(),
          propertyResults,
          LockMode.READ
      );
      definition.addQueryReturn( result );
    }

    for ( ColumnResult column : ann.columns() ) {
      definition.addQueryReturn(
          new NativeSQLQueryScalarReturn(
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.