Empty ResultSet while running Stored Procs on MyBatis 3.0.2.
This post has NOT been accepted by the mailing list yet.
Hi All ,
I am using myBatis3.0.2 version with spring.
I am facing issues while executing a stored Procedure in Sybase, it runs (without exception) & does not give any resultSet.
I have run normal select , insert Queries and they work fine , so I am guessing my Datasource and Drivers for Sybase are proper . However , with stored Procs I am not getting any resultSet . I am sure my Stored Proc is fine as the same proc is returning result , If I use spring JDBC template.
I am pasting my code snippet ..Thanks in advance , if anyone can point out what I could be doing wrong.
Here IBatisTest is my Bean with key , value as instance variables inside it.
and this alias goes in my main myBatis config file .
<typeAliases> <typeAlias type="com.jpmorgan.pb.topazweb.equity.spring.jsonrpc.beans.IbatisTest" alias="IbatisTest"/> </typeAliases>
And I am calling this proc like this ..
// sqlSessionTemplate is a spring Wrapper file .