title: How read returned value from stored procedure in Spring Jdbc (without out parameters in procedure)
body: <p>How can I read returned value from stored procedure in Spring Jdbc (without out parameters) ?</p>
  
  <p>I am use Sybase ASE database.</p>
  
  <p>Procedure Example:</p>
  
  <pre><code>CREATE PROCEDURE dbo.procedureA (
   @a int
  )
  as
  begin
      IF EXISTS (SELECT 1 FROM dbo.T WHERE a = @a)
          return 1
      ELSE
          return -1
  end
  </code></pre>