Tabnine Logo
ResultSetMappingDefinition.addQueryReturn
Code IndexAdd Tabnine to your IDE (free)

How to use
addQueryReturn
method
in
org.hibernate.engine.ResultSetMappingDefinition

Best Java code snippets using org.hibernate.engine.ResultSetMappingDefinition.addQueryReturn (Showing top 8 results out of 315)

origin: hibernate/hibernate-orm

private static void bind(
    ResultSetMappingBindingDefinition resultSetMappingSource,
    ResultSetMappingDefinition binding,
    HbmLocalMetadataBuildingContext context) {
  int cnt = 0;
  for ( Object valueMappingSource : resultSetMappingSource.getValueMappingSources() ) {
    if ( JaxbHbmNativeQueryReturnType.class.isInstance( valueMappingSource ) ) {
      binding.addQueryReturn(
          extractReturnDescription( (JaxbHbmNativeQueryReturnType) valueMappingSource, context, cnt++ )
      );
    }
    else if ( JaxbHbmNativeQueryCollectionLoadReturnType.class.isInstance( valueMappingSource ) ) {
      binding.addQueryReturn(
          extractReturnDescription( (JaxbHbmNativeQueryCollectionLoadReturnType) valueMappingSource, context, cnt++ )
      );
    }
    else if ( JaxbHbmNativeQueryJoinReturnType.class.isInstance( valueMappingSource ) ) {
      binding.addQueryReturn(
          extractReturnDescription( (JaxbHbmNativeQueryJoinReturnType) valueMappingSource, context, cnt++ )
      );
    }
    else if ( JaxbHbmNativeQueryScalarReturnType.class.isInstance( valueMappingSource ) ) {
      binding.addQueryReturn(
          extractReturnDescription( (JaxbHbmNativeQueryScalarReturnType) valueMappingSource, context )
      );
    }
  }
}
origin: hibernate/hibernate-orm

    LockMode.READ
);
definition.addQueryReturn( result );
definition.addQueryReturn(
    new NativeSQLQueryScalarReturn(
        normalizeColumnQuoting( column.name() ),
definition.addQueryReturn(
    new NativeSQLQueryConstructorReturn( constructorResult.targetClass(), columnReturns )
);
origin: org.hibernate/hibernate-annotations

    LockMode.READ
);
definition.addQueryReturn( result );
definition.addQueryReturn(
    new NativeSQLQueryScalarReturn(
        mappings.getObjectNameNormalizer().normalizeIdentifierQuoting(
origin: org.hibernate/com.springsource.org.hibernate.core

definition.addQueryReturn( new NativeSQLQueryScalarReturn( column, type ) );
definition.addQueryReturn( bindReturn( returnElem, mappings, cnt ) );
definition.addQueryReturn( bindReturnJoin( returnElem, mappings ) );
definition.addQueryReturn( bindLoadCollection( returnElem, mappings ) );
origin: org.hibernate/com.springsource.org.hibernate

definition.addQueryReturn( new NativeSQLQueryScalarReturn( column, type ) );
definition.addQueryReturn( bindReturn( returnElem, mappings, cnt ) );
definition.addQueryReturn( bindReturnJoin( returnElem, mappings ) );
definition.addQueryReturn( bindLoadCollection( returnElem, mappings ) );
origin: stackoverflow.com

definition.addQueryReturn(new NativeSQLQueryRootReturn(getOrCreateAlias(entityClass), entityClass.getName(),
    getPropertyResults(entityClass, entityResultSet.fields(), returnedEntities, mappedReturns, ""),
    LockMode.READ));
      .addQueryReturn(
          new NativeSQLQueryRootReturn(getOrCreateAlias(entityResult.entityClass()),
              entityResult.entityClass().getName(), getPropertyResults(entityResult.entityClass(),
  definition.addQueryReturn(mappedReturn);
origin: org.hibernate/com.springsource.org.hibernate

    LockMode.READ
);
definition.addQueryReturn( result );
definition.addQueryReturn(
    new NativeSQLQueryScalarReturn(
        mappings.getObjectNameNormalizer().normalizeIdentifierQuoting(
origin: org.hibernate/com.springsource.org.hibernate.core

    LockMode.READ
);
definition.addQueryReturn( result );
definition.addQueryReturn(
    new NativeSQLQueryScalarReturn(
        mappings.getObjectNameNormalizer().normalizeIdentifierQuoting(
org.hibernate.engineResultSetMappingDefinitionaddQueryReturn

Javadoc

Adds a return.

Popular methods of ResultSetMappingDefinition

  • <init>
  • getName
  • getQueryReturns
  • traceLoggableFormat

Popular in Java

  • Making http requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Reference (javax.naming)
  • JCheckBox (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now