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