org.jdbi.v3.core.exception.UnableToCreateStatementException: Exception parsing for named parameter replacement [statement:"CREATE FUNCTION set100(OUT outparam INT) AS $$ BEGIN outparam \:= 100; END; $$ LANGUAGE plpgsql", rewritten:"null", arguments:{ positional:{}, named:{}, finder:[]}]

GitHub | stevenschlansker | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Colon statement lexer improvements break `:=`

    GitHub | 7 months ago | stevenschlansker
    org.jdbi.v3.core.exception.UnableToCreateStatementException: Exception parsing for named parameter replacement [statement:"CREATE FUNCTION set100(OUT outparam INT) AS $$ BEGIN outparam \:= 100; END; $$ LANGUAGE plpgsql", rewritten:"null", arguments:{ positional:{}, named:{}, finder:[]}]

    Root Cause Analysis

    1. org.jdbi.v3.core.exception.UnableToCreateStatementException

      Exception parsing for named parameter replacement [statement:"CREATE FUNCTION set100(OUT outparam INT) AS $$ BEGIN outparam \:= 100; END; $$ LANGUAGE plpgsql", rewritten:"null", arguments:{ positional:{}, named:{}, finder:[]}]

      at org.jdbi.v3.sqlobject.TestOutParameterAnnotation.lambda$setUp$0()
    2. org.jdbi.v3
      TestOutParameterAnnotation.setUp
      1. org.jdbi.v3.sqlobject.TestOutParameterAnnotation.lambda$setUp$0(TestOutParameterAnnotation.java:38)
      2. org.jdbi.v3.sqlobject.TestOutParameterAnnotation.setUp(TestOutParameterAnnotation.java:37)
      2 frames