hibernate/hibernate-orm · error · ParameterTypeException
Could not determine ProcedureCall parameter bind type - %s (
Error message
Could not determine ProcedureCall parameter bind type - %s (%s)
What it means
Error "Could not determine ProcedureCall parameter bind type - %s (%s)" thrown in hibernate/hibernate-orm.
Source
Thrown at hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureParameterImpl.java:202
return null;
}
}
private String getJdbcParamName(
ProcedureCallImplementor procedureCall,
boolean isNamed,
boolean passProcedureParameterNames,
OutputableType<T> typeToUse,
ExtractedDatabaseMetaData databaseMetaData) {
return isNamed && passProcedureParameterNames
&& canDoNameParameterBinding( typeToUse, procedureCall, databaseMetaData )
? name
: null;
}
private void validateBindableType(BindableType<T> bindableType, int startIndex) {
if ( bindableType == null ) {
throw new ParameterTypeException(
String.format(
Locale.ROOT,
"Could not determine ProcedureCall parameter bind type - %s (%s)",
this.name != null ? this.name : this.position,
startIndex
)
);
}
}
private JdbcParameterBinder getParameterBinder(BindableType<T> typeToUse, String name) {
if ( typeToUse == null ) {
throw new ParameterTypeException(
String.format(
Locale.ROOT,
"Cannot determine the bindable type for procedure parameter %s (%s)",
this.name != null ? this.name : this.position,
nameView on GitHub (pinned to fad1729dce)
Solutions
- Pass an explicit Hibernate type when registering the procedure parameter.
- Ensure the Java type maps to a registered BasicType in the type registry.
When it happens
Trigger: A runtime precondition of the Hibernate API is violated.
Common situations: Occurs when application code or configuration does not satisfy the documented contract of the API being called.
AI-assisted analysis of hibernate/hibernate-orm@fad1729dce (2026-08-22).
Data as JSON: /api/errors/018b3f1ddec670d0.
Report an issue: GitHub.