We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NativeQueryImpl#createCountQueryPlan
1 parent 721452a commit dbfaa0dCopy full SHA for dbfaa0d
hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeQueryImpl.java
@@ -688,7 +688,10 @@ public Set<String> getAffectedTableNames() {
688
.createQueryPlan( queryDefinition, getSessionFactory() );
689
}
690
691
- private NativeSelectQueryPlan<Long> createCountQueryPlan() {
+ /*
692
+ * Used by Hibernate Reactive
693
+ */
694
+ protected NativeSelectQueryPlan<Long> createCountQueryPlan() {
695
final BasicType<Long> longType = getSessionFactory().getTypeConfiguration().getBasicTypeForJavaType(Long.class);
696
final String sqlString = expandParameterLists();
697
final NativeSelectQueryDefinition<Long> queryDefinition = new NativeSelectQueryDefinition<>() {
0 commit comments