I'm trying to prepare a ResultSet for a PreparedStatementResultSetHandler for an INSERT type of SQL. One of the fields passed to the INSERT is the current system date. How would I prepare the ResultSet for this? It seems when I call prepareResultSets(), all the matched fields are needed
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to prepare a ResultSet for a PreparedStatementResultSetHandler for an INSERT type of SQL. One of the fields passed to the INSERT is the current system date. How would I prepare the ResultSet for this? It seems when I call prepareResultSets(), all the matched fields are needed
Simply leave it out. Not all fields are needed on prepare unless you enable setExactMatchParameter.