Skip to content

Support out parameters on stored procedures #3

Open

Description

@ryaneberly
<script connection-id="db"> call GETINFO( ?Prefix , ?PolicyNumber , ?); </script>

This fails when JDBC attempts to call the procedure. We often use a single output parameter to track error conditions.
It would great if the the procedure would be called w/o error, better still if there was a way to put the result into a variable.

Activity

  1. ejboy commented on Oct 29, 2014

    @ejboy
    Member

    Thank you for bringing it up. This was raised several times already and I'm going to implement it. It will be based on the JDBC escape syntax defined in CallableStatement:

    {?= call <procedure-name>[(<arg1>,<arg2>, ...)]}
    {call <procedure-name>[(<arg1>,<arg2>, ...)]}
    
  2. ryaneberly commented on Oct 29, 2014

    @ryaneberly
    Author

    Wonderful - I'm happy to help test it.
    Scriptella's a great tool.

  3. added a commit that references this issue on Nov 4, 2014
  4. ejboy commented on Nov 5, 2014

    @ejboy
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions