Oracle TIMESTAMP and Mybatis issue <p>I'm using mybatis in my web application.</p> <p>I'm executing the below select query:</p> <pre><code>&lt;select id="retrieveSearchResultReferrals" resultType="hashmap" parameterType="map"&gt; select * from table(xxxx.test_abc_pk.retrieveDA(#{searchString})) &lt;/select&gt; </code></pre> <p>Of the columns in result some are DATE data type and one column is TIMESTAMP data type.</p> <p>Mybatis is converting DATE column correctly to java.sql.Date BUT for the TIMESTAMP column it is converting it to oracle.sql.TIMESTAMP instead of java.sql.Timestamp.</p> <p>Any ideas on how can I make mybatis to convert TIMESTAMP to java.sql.Timestamp?</p>