HHH-16348 Re-add JdbcOperationQuery#getAppliedParameters for query extensions
This commit is contained in:
parent
9e16edb28b
commit
bf03ae4a6a
|
@ -9,17 +9,20 @@ package org.hibernate.sql.exec.internal;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.hibernate.HibernateException;
|
||||
import org.hibernate.internal.FilterJdbcParameter;
|
||||
import org.hibernate.query.spi.QueryOptions;
|
||||
import org.hibernate.sql.ast.tree.expression.JdbcParameter;
|
||||
import org.hibernate.sql.exec.spi.JdbcCallFunctionReturn;
|
||||
import org.hibernate.sql.exec.spi.JdbcCallParameterExtractor;
|
||||
import org.hibernate.sql.exec.spi.JdbcCallParameterRegistration;
|
||||
import org.hibernate.sql.exec.spi.JdbcCallRefCursorExtractor;
|
||||
import org.hibernate.sql.exec.spi.JdbcOperationQueryCall;
|
||||
import org.hibernate.sql.exec.spi.JdbcParameterBinder;
|
||||
import org.hibernate.sql.exec.spi.JdbcParameterBinding;
|
||||
import org.hibernate.sql.exec.spi.JdbcParameterBindings;
|
||||
import org.hibernate.sql.results.jdbc.spi.JdbcValuesMappingProducer;
|
||||
|
||||
|
@ -117,6 +120,11 @@ public class JdbcCallImpl implements JdbcOperationQueryCall {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<JdbcParameter, JdbcParameterBinding> getAppliedParameters() {
|
||||
return Collections.emptyMap();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCompatibleWith(
|
||||
JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) {
|
||||
|
|
|
@ -6,10 +6,13 @@
|
|||
*/
|
||||
package org.hibernate.sql.exec.spi;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.hibernate.query.spi.QueryOptions;
|
||||
import org.hibernate.sql.ast.tree.expression.JdbcParameter;
|
||||
|
||||
/**
|
||||
* Executable JDBC command
|
||||
|
@ -50,6 +53,11 @@ public class JdbcOperationQueryMutationNative implements JdbcOperationQueryMutat
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<JdbcParameter, JdbcParameterBinding> getAppliedParameters() {
|
||||
return Collections.emptyMap();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue