JDBC Query Executor
The JDBC Query executor connects through JDBC to a database and performs a user-defined SQL query each time it receives an event record. Use the JDBC Query executor as part of an event stream in the pipeline.
The JDBC Query executor can commit to the database after each batch or set auto-commit mode. In auto-commit mode, the database commits the data for each record. By default, the executor commits after each batch.
When you configure the JDBC Query executor, you specify JDBC connection properties and the query you want to use. You can configure custom properties that your driver requires, advanced connection properties, and the commit type to use.
To use a JDBC version older than 4.0, you can specify the driver class name and define a health check query.
For more information about dataflow triggers and the event framework, see Dataflow Triggers Overview.
Installing the JDBC Driver
Before you use the JDBC Query executor, install the JDBC driver for the database. You cannot access the database until you install the required driver.
For information about installing additional drivers, see Install External Libraries.
Configuring a JDBC Query Executor
Configure a JDBC Query executor as part of an event stream to execute a database query each time it receives an event record.