org.hibernate.procedure.spi.CallableStatementSupport Maven / Gradle / Ivy
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.procedure.spi;
import java.sql.CallableStatement;
import java.util.List;
import org.hibernate.engine.spi.SharedSessionContractImplementor;
/**
* @author Steve Ebersole
*/
public interface CallableStatementSupport {
String renderCallableStatement(
String name,
ParameterStrategy parameterStrategy,
List> parameterRegistrations,
SharedSessionContractImplementor session);
void registerParameters(
String procedureName,
CallableStatement statement,
ParameterStrategy parameterStrategy,
List> parameterRegistrations,
SharedSessionContractImplementor session);
}