Dynamic Fields in PreparedStatement

Anonymous
2013-02-13
2013-04-15
  • Anonymous - 2013-02-13

    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

     
  • Nobody/Anonymous

    Simply leave it out. Not all fields are needed on prepare unless you enable setExactMatchParameter.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks