What method do I use to specify that a CallableStatement's parameter is a SQL CHAR type as opposed to a SQL VARCHAR? I cannot find a corresponding setChar method.
"Java programmers do not need to distinguish among the three types of JDBC strings, CHAR, VARCHAR, and LONGVARCHAR. Each can be expressed as a Java String, and it is possible to read and write an SQL statement correctly without knowing the exact data type that was expected."
The same is true for getString().
Use setObject(int parameterIndex, Object x, int targetSqlType) with targetSqlType set to Types.CHAR.