Note: related to https://sourceforge.net/p/hsqldb/feature-requests/280/
Getting exception when using Spring's SimpleJdbcCall....
org.springframework.dao.TransientDataAccessResourceException: CallableStatementCallback; SQL [{? = call PAR3214.VOID_ALLOCATION(?, ?, ?)}]; Invalid argument in JDBC call: Not OUT or INOUT mode: 1 for parameter: 1; nested exception is java.sql.SQLException: Invalid argument in JDBC call: Not OUT or INOUT mode: 1 for parameter: 1 ...snip... Caused By HsqlException: Invalid argument in JDBC call: Not OUT or INOUT mode: 1 for parameter: 1
Spring hard codes the format of the callable statement to begin with "{? = call" which is explicitly not supported by the org.hsqldb.jdbc.JDBCConnection method of nativeSQL
I boiled it down to just JDBC and I'm still having the issue...
~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~
tried this is 2.2.9 and 2.3.2 and it fails in both. This example works fine in oracle. We are using JDK 5
Last edit: gbonk 2014-10-16