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
68ad2130e8
commit
fb8e1c1d71
|
@ -37,6 +37,17 @@ public interface ParameterRegistration<T> extends ProcedureParameter<T> {
|
|||
@Override
|
||||
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
|
||||
* definition (is it an INPUT parameter? An OUTPUT parameter? etc).
|
||||
|
|
Loading…
Reference in New Issue