Remove ProcedureParameterImplementor NotYetImplementedFor6Exception
This commit is contained in:
parent
5b425f39fd
commit
63c119bf89
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
package org.hibernate.procedure.internal;
|
package org.hibernate.procedure.internal;
|
||||||
|
|
||||||
|
import java.sql.CallableStatement;
|
||||||
|
import java.sql.SQLException;
|
||||||
import java.sql.Types;
|
import java.sql.Types;
|
||||||
import jakarta.persistence.ParameterMode;
|
import jakarta.persistence.ParameterMode;
|
||||||
|
|
||||||
|
@ -130,4 +132,10 @@ public class FunctionReturnImpl implements FunctionReturnImplementor {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void prepare(CallableStatement statement, int startIndex, ProcedureCallImplementor callImplementor)
|
||||||
|
throws SQLException {
|
||||||
|
throw new NotYetImplementedFor6Exception( getClass() );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,6 @@ import java.sql.CallableStatement;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
|
|
||||||
import org.hibernate.Incubating;
|
import org.hibernate.Incubating;
|
||||||
import org.hibernate.NotYetImplementedFor6Exception;
|
|
||||||
import org.hibernate.query.procedure.ProcedureParameter;
|
import org.hibernate.query.procedure.ProcedureParameter;
|
||||||
import org.hibernate.query.spi.QueryParameterImplementor;
|
import org.hibernate.query.spi.QueryParameterImplementor;
|
||||||
|
|
||||||
|
@ -27,10 +26,8 @@ public interface ProcedureParameterImplementor<T> extends ProcedureParameter<T>,
|
||||||
*
|
*
|
||||||
* @throws SQLException Indicates a problem with any underlying JDBC calls
|
* @throws SQLException Indicates a problem with any underlying JDBC calls
|
||||||
*/
|
*/
|
||||||
default void prepare(
|
void prepare(
|
||||||
CallableStatement statement,
|
CallableStatement statement,
|
||||||
int startIndex,
|
int startIndex,
|
||||||
ProcedureCallImplementor<?> callImplementor) throws SQLException{
|
ProcedureCallImplementor<?> callImplementor) throws SQLException;
|
||||||
throw new NotYetImplementedFor6Exception( getClass() );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,12 +90,14 @@ import org.hibernate.query.sqm.tree.predicate.SqmOrPredicate;
|
||||||
import org.hibernate.query.sqm.tree.predicate.SqmPredicate;
|
import org.hibernate.query.sqm.tree.predicate.SqmPredicate;
|
||||||
import org.hibernate.query.sqm.tree.predicate.SqmWhereClause;
|
import org.hibernate.query.sqm.tree.predicate.SqmWhereClause;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmDynamicInstantiation;
|
import org.hibernate.query.sqm.tree.select.SqmDynamicInstantiation;
|
||||||
|
import org.hibernate.query.sqm.tree.select.SqmJpaCompoundSelection;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmOrderByClause;
|
import org.hibernate.query.sqm.tree.select.SqmOrderByClause;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmQueryGroup;
|
import org.hibernate.query.sqm.tree.select.SqmQueryGroup;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmQueryPart;
|
import org.hibernate.query.sqm.tree.select.SqmQueryPart;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmQuerySpec;
|
import org.hibernate.query.sqm.tree.select.SqmQuerySpec;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmSelectClause;
|
import org.hibernate.query.sqm.tree.select.SqmSelectClause;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmSelectStatement;
|
import org.hibernate.query.sqm.tree.select.SqmSelectStatement;
|
||||||
|
import org.hibernate.query.sqm.tree.select.SqmSelectableNode;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmSelection;
|
import org.hibernate.query.sqm.tree.select.SqmSelection;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmSortSpecification;
|
import org.hibernate.query.sqm.tree.select.SqmSortSpecification;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmSubQuery;
|
import org.hibernate.query.sqm.tree.select.SqmSubQuery;
|
||||||
|
@ -463,6 +465,20 @@ public class SqmTreePrinter implements SemanticQueryWalker<Object> {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Object visitJpaCompoundSelection(SqmJpaCompoundSelection<?> selection) {
|
||||||
|
processStanza(
|
||||||
|
"JpaCompoundSelection",
|
||||||
|
() -> {
|
||||||
|
for ( SqmSelectableNode<?> selectionItem : selection.getSelectionItems() ) {
|
||||||
|
selectionItem.accept( this );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object visitFromClause(SqmFromClause fromClause) {
|
public Object visitFromClause(SqmFromClause fromClause) {
|
||||||
processStanza(
|
processStanza(
|
||||||
|
|
Loading…
Reference in New Issue