Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow OUT parameter registration when using CallableStatement na… #1561

Merged
merged 2 commits into from Nov 26, 2019

Commits on Sep 5, 2019

  1. fix: allow OUT parameter registration when using CallableStatement na…

    …tive CALL
    
    Currently, using CallableStatement, the PGJDBC driver will allow invocation of procedures using
    the native "call myproc(...)" syntax, provided the procedure only has IN parameters or no
    parameters.
    However, if the procedure has any INOUT parameters, then an attempt to invoke the
    CallableStatement's registerOutParameter() method, which is required in order to register the OUT
    part of the INOUT parameter, will fail with the following error:
       This statement does not declare an OUT parameter.  Use { ?= call ... } to declare one.
    
    This fixes issue: pgjdbc#1545
    gregn123 committed Sep 5, 2019
    Copy the full SHA
    3162d5b View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2019

  1. Copy the full SHA
    6582c9a View commit details
    Browse the repository at this point in the history