your 'Stored procedure' has nothing to retuen to your
java application.I think in your stored procedure you
should use a cursor to be able to return a resultset
to your java application.please consult SQL Server
documentation on how to define a cursor and return
values using it.