HHH-12695 Restore the getType method in ParameterRegistration
It was removed in 5.3.0.Beta1, but this breaks backward compatibility with 5.1.
This commit is contained in:
parent
e9b8a80a99
commit
479975dcb3
|
@ -37,6 +37,17 @@ public interface ParameterRegistration<T> extends ProcedureParameter<T> {
|
||||||
@Override
|
@Override
|
||||||
Integer getPosition();
|
Integer getPosition();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the Java type of the parameter.
|
||||||
|
*
|
||||||
|
* @return The Java type of the parameter.
|
||||||
|
* @deprecated Call {@link #getParameterType()} instead.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
default Class<T> getType() {
|
||||||
|
return getParameterType();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves the parameter "mode" which describes how the parameter is defined in the actual database procedure
|
* Retrieves the parameter "mode" which describes how the parameter is defined in the actual database procedure
|
||||||
* definition (is it an INPUT parameter? An OUTPUT parameter? etc).
|
* definition (is it an INPUT parameter? An OUTPUT parameter? etc).
|
||||||
|
|
Loading…
Reference in New Issue