You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a procedure returns a select from a table, and if we try to map into a JPA repository, it gives error saying we do not have the output parameter specified. If a procedure does not have output parameters, so Spring Data should understand it and just map the result list into domain.
The CallableStatement.registerOutParameter(int, int, String method is not implemented.
Via Hibernate message error:
Caused by: java.sql.SQLException: Output parameters have not yet been processed. Call getMoreResults().
at net.sourceforge.jtds.jdbc.ParamInfo.getOutValue(ParamInfo.java:159)
at net.sourceforge.jtds.jdbc.JtdsCallableStatement.getOutputValue(JtdsCallableStatement.java:124)
at net.sourceforge.jtds.jdbc.JtdsCallableStatement.getBytes(JtdsCallableStatement.java:271)
Affects: 1.9 GA (Gosling), 1.10.1 (Hopper SR1)
1 votes, 3 watchers
The text was updated successfully, but these errors were encountered:
ofbiz opened DATAJPA-801 and commented
If a procedure returns a select from a table, and if we try to map into a JPA repository, it gives error saying we do not have the output parameter specified. If a procedure does not have output parameters, so Spring Data should understand it and just map the result list into domain.
For example:
Via EclipseLink message error:
Via Hibernate message error:
Affects: 1.9 GA (Gosling), 1.10.1 (Hopper SR1)
1 votes, 3 watchers
The text was updated successfully, but these errors were encountered: