From 7593d580b7ec9eab6d08e2d1ea6686a8d9631692 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Fri, 4 Nov 2022 18:29:55 +0100 Subject: [PATCH] fix name of ResultSetMappingSecondPass --- .../main/java/org/hibernate/cfg/annotations/QueryBinder.java | 4 ++-- ...MappingSecondPass.java => ResultSetMappingSecondPass.java} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename hibernate-core/src/main/java/org/hibernate/cfg/annotations/{ResultsetMappingSecondPass.java => ResultSetMappingSecondPass.java} (98%) diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/annotations/QueryBinder.java b/hibernate-core/src/main/java/org/hibernate/cfg/annotations/QueryBinder.java index 08da36df61..6948cbe89c 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/annotations/QueryBinder.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/annotations/QueryBinder.java @@ -449,7 +449,7 @@ public abstract class QueryBinder { for (SqlResultSetMapping rs : ann.value()) { //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, boolean isDefault) { //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( diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/annotations/ResultsetMappingSecondPass.java b/hibernate-core/src/main/java/org/hibernate/cfg/annotations/ResultSetMappingSecondPass.java similarity index 98% rename from hibernate-core/src/main/java/org/hibernate/cfg/annotations/ResultsetMappingSecondPass.java rename to hibernate-core/src/main/java/org/hibernate/cfg/annotations/ResultSetMappingSecondPass.java index ddb1e7c422..37d4384148 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/annotations/ResultsetMappingSecondPass.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/annotations/ResultSetMappingSecondPass.java @@ -18,14 +18,14 @@ import org.hibernate.boot.query.SqlResultSetMappingDescriptor; /** * @author Emmanuel Bernard */ -public class ResultsetMappingSecondPass implements QuerySecondPass { +public class ResultSetMappingSecondPass implements QuerySecondPass { // private static final CoreMessageLogger LOG = CoreLogging.messageLogger( ResultsetMappingSecondPass.class ); private final SqlResultSetMapping ann; private final MetadataBuildingContext context; private final boolean isDefault; - public ResultsetMappingSecondPass(SqlResultSetMapping ann, MetadataBuildingContext context, boolean isDefault) { + public ResultSetMappingSecondPass(SqlResultSetMapping ann, MetadataBuildingContext context, boolean isDefault) { this.ann = ann; this.context = context; this.isDefault = isDefault;