Class OutputParameterForCallableStatement

    • Field Detail

      • isCursor

        protected boolean isCursor
      • jdbcType

        protected int jdbcType
      • typeName

        protected java.lang.String typeName
      • isTypeNameRequired

        protected boolean isTypeNameRequired
    • Constructor Detail

      • OutputParameterForCallableStatement

        public OutputParameterForCallableStatement​(DatabaseField field)
      • OutputParameterForCallableStatement

        public OutputParameterForCallableStatement​(DatabaseField field,
                                                   AbstractSession session,
                                                   boolean isCursor)
      • OutputParameterForCallableStatement

        protected OutputParameterForCallableStatement()
    • Method Detail

      • setIsCursor

        public void setIsCursor​(boolean isCursor)
      • isCursor

        public boolean isCursor()
      • isTypeNameRequired

        public boolean isTypeNameRequired()
      • getJdbcType

        public int getJdbcType()
      • getTypeName

        public java.lang.String getTypeName()
      • set

        public void set​(DatabasePlatform platform,
                        java.sql.PreparedStatement statement,
                        int parameterIndex,
                        AbstractSession session)
                 throws java.sql.SQLException
        Description copied from class: BindCallCustomParameter
        Sets this bound parameter, on the given statement, at the given parameterIndex. Note: PreparedStatement contains setX(int parameterIndex, X x) methods. This method aligns with that pattern.
        Overrides:
        set in class BindCallCustomParameter
        Throws:
        java.sql.SQLException
      • set

        public void set​(DatabasePlatform platform,
                        java.sql.CallableStatement statement,
                        java.lang.String parameterName,
                        AbstractSession session)
                 throws java.sql.SQLException
        Description copied from class: BindCallCustomParameter
        Sets this bound parameter, on the given statement, for the given parameterName. Note: CallableStatement contains setX(int parameterName, X x) methods. This method aligns with that pattern.
        Overrides:
        set in class BindCallCustomParameter
        Throws:
        java.sql.SQLException