jeanlazarou/jdbcunit — pull request #1 by laisoliveira (2013-10-23 18:31:38+00:00)
Title: CallableStatementWrapper and a few issues 

This pull request contains :

1) Handling Timestamp fields : We have a Oracle DATE column, and we read it from the resultset as a Timestamp because we need to get the hours/minutes.
When recording with MediaRecorder the values are being read from resultset with getObject() , which returns a java.sql.Date as the database field type is DATE. Then, when we replay the select execution we get a parsing error, because the Date was written as java.sql.Date and cannot be parsed to Timestamp.

2) Values with line break : We have VARCHAR fields which their value contains a line break, when these values are written to the csv file the value is written in several lines, which caused a problem when the select statement is replayed from these files.

3) The JDBC interfaces changed. I just implemented the new methods throwing an UnsupportedOperation exception and everything worked fine.

4) Stored procedure support with CallableStatementWrapper.
I haven't created any tests for the CallableStatementWrapper because the current straight implementation supports only table handling, perhaps it would be easier to use hsqldb which supports procedures also.