Package org.hibernate.procedure

Examples of org.hibernate.procedure.UnknownSqlResultSetMappingException


  public static void resolveResultSetMappings(ResultSetMappingResolutionContext context, String... resultSetMappingNames) {
    for ( String resultSetMappingName : resultSetMappingNames ) {
      log.tracef( "Starting attempt resolve named result-set-mapping : %s", resultSetMappingName );
      final ResultSetMappingDefinition mapping = context.findResultSetMapping( resultSetMappingName );
      if ( mapping == null ) {
        throw new UnknownSqlResultSetMappingException( "Unknown SqlResultSetMapping [" + resultSetMappingName + "]" );
      }

      log.tracef( "Found result-set-mapping : %s", mapping.traceLoggableFormat() );

      context.addQueryReturns( mapping.getQueryReturns() );
View Full Code Here


  public static void resolveResultSetMappings(ResultSetMappingResolutionContext context, String... resultSetMappingNames) {
    for ( String resultSetMappingName : resultSetMappingNames ) {
      log.tracef( "Starting attempt resolve named result-set-mapping : %s", resultSetMappingName );
      final ResultSetMappingDefinition mapping = context.findResultSetMapping( resultSetMappingName );
      if ( mapping == null ) {
        throw new UnknownSqlResultSetMappingException( "Unknown SqlResultSetMapping [" + resultSetMappingName + "]" );
      }

      log.tracef( "Found result-set-mapping : %s", mapping.traceLoggableFormat() );

      context.addQueryReturns( mapping.getQueryReturns() );
View Full Code Here

TOP

Related Classes of org.hibernate.procedure.UnknownSqlResultSetMappingException

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.