fix name of ResultSetMappingSecondPass

This commit is contained in:
Gavin King 2022-11-04 18:29:55 +01:00
parent a39fcf7669
commit 7593d580b7
2 changed files with 4 additions and 4 deletions

View File

@ -449,7 +449,7 @@ public abstract class QueryBinder {
for (SqlResultSetMapping rs : ann.value()) { for (SqlResultSetMapping rs : ann.value()) {
//no need to handle inSecondPass //no need to handle inSecondPass
context.getMetadataCollector().addSecondPass( new ResultsetMappingSecondPass( rs, context, true ) ); context.getMetadataCollector().addSecondPass( new ResultSetMappingSecondPass( rs, context, true ) );
} }
} }
@ -458,7 +458,7 @@ public abstract class QueryBinder {
MetadataBuildingContext context, MetadataBuildingContext context,
boolean isDefault) { boolean isDefault) {
//no need to handle inSecondPass //no need to handle inSecondPass
context.getMetadataCollector().addSecondPass( new ResultsetMappingSecondPass( ann, context, isDefault ) ); context.getMetadataCollector().addSecondPass( new ResultSetMappingSecondPass( ann, context, isDefault ) );
} }
public static String parseJdbcCall( public static String parseJdbcCall(

View File

@ -18,14 +18,14 @@ import org.hibernate.boot.query.SqlResultSetMappingDescriptor;
/** /**
* @author Emmanuel Bernard * @author Emmanuel Bernard
*/ */
public class ResultsetMappingSecondPass implements QuerySecondPass { public class ResultSetMappingSecondPass implements QuerySecondPass {
// private static final CoreMessageLogger LOG = CoreLogging.messageLogger( ResultsetMappingSecondPass.class ); // private static final CoreMessageLogger LOG = CoreLogging.messageLogger( ResultsetMappingSecondPass.class );
private final SqlResultSetMapping ann; private final SqlResultSetMapping ann;
private final MetadataBuildingContext context; private final MetadataBuildingContext context;
private final boolean isDefault; private final boolean isDefault;
public ResultsetMappingSecondPass(SqlResultSetMapping ann, MetadataBuildingContext context, boolean isDefault) { public ResultSetMappingSecondPass(SqlResultSetMapping ann, MetadataBuildingContext context, boolean isDefault) {
this.ann = ann; this.ann = ann;
this.context = context; this.context = context;
this.isDefault = isDefault; this.isDefault = isDefault;