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 | 4 months ago
  1. 0

    Colon statement lexer improvements break `:=`

    GitHub | 4 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