Class JdbcDataQueryService

    • Constructor Detail

      • JdbcDataQueryService

        public JdbcDataQueryService()
    • Method Detail

      • closeJdbcService

        protected void closeJdbcService()
        Description copied from class: JdbcService
        Close the service.

        This is called before the connection is closed

        Specified by:
        closeJdbcService in class JdbcService
      • stopService

        public void stopService()
        Description copied from class: JdbcService
        Stop the service.

        This is called after before the connection is stopped

        Specified by:
        stopService in class JdbcService
      • getResultSetTranslator

        public ResultSetTranslator getResultSetTranslator()
        Returns:
        the output translator implementation.
      • setResultSetTranslator

        public void setResultSetTranslator​(ResultSetTranslator outputTranslator)
        Set the implementation that will be used to parse the result set.
        Parameters:
        outputTranslator - the implementation to use.
      • getNamespaceContext

        public KeyValuePairSet getNamespaceContext()
        Returns:
        the namespaceContext
      • setStatementCreator

        public void setStatementCreator​(JdbcStatementCreator statementCreator)
        Set the SQL Query statement creator. If set, a StatementCreator will override the configured statement, if any.
        Parameters:
        statementCreator - The statement creator to set.
      • getIgnoreExecuteQueryErrors

        public java.lang.Boolean getIgnoreExecuteQueryErrors()
        Returns:
        the ignoreExecuteQueryErrors
      • setIgnoreExecuteQueryErrors

        public void setIgnoreExecuteQueryErrors​(java.lang.Boolean b)
        Whether or not to ignore the SQL Exception when executing PreparedStatement.executeQuery().

        If set to true this means is that the PreparedStatement.executeQuery() is treated as successful, but with an empty result set.

        Parameters:
        b - the ignoreExecuteQueryErrors to set