hibernate/hibernate-orm · error · IllegalArgumentException
e.getMessage()
Error message
e.getMessage()
What it means
Error "e.getMessage()" thrown in hibernate/hibernate-orm.
Source
Thrown at hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureCallImpl.java:1235
return getUpdateCount();
}
finally {
getOutputs().release();
}
}
@Override
public Object getOutputParameterValue(int position) {
checkNotClosed();
// According to spec, an exception thrown from this method should not mark for rollback.
try {
return getOutputs().getOutputParameterValue( position );
}
catch (ParameterStrategyException e) {
throw new IllegalArgumentException( "Invalid mix of named and positional parameters", e );
}
catch (NoSuchParameterException e) {
throw new IllegalArgumentException( e.getMessage(), e );
}
}
@Override
public Object getOutputParameterValue(@Nonnull String parameterName) {
checkNotClosed();
// According to spec, an exception thrown from this method should not mark for rollback.
try {
return getOutputs().getOutputParameterValue( parameterName );
}
catch (ParameterStrategyException e) {
throw new IllegalArgumentException( "Invalid mix of named and positional parameters", e );
}
catch (NoSuchParameterException e) {
throw new IllegalArgumentException( e.getMessage(), e );
}
}
View on GitHub (pinned to fad1729dce)
Solutions
- Inspect the wrapped exception message and stack trace for the underlying parameter binding error.
- Ensure all IN parameters are bound before execution.
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/33d820cdcd428cc6.
Report an issue: GitHub.