java.sql.PreparedStatement interface provides all the required JDBC type conversions and additionally allows use of the individual setXXX methods for each type as if a setObject(Value, JDBCTypeCode) invocation were made. java.sql.PreparedStatement interface

This means that setString can be used for any built-in target type.

The setCursorName method can be used on a PreparedStatement prior to an execute request to control the cursor name used when the cursor is created.