Package io.debezium.jdbc
Interface JdbcConnection.ConnectionFactory
- All Known Implementing Classes:
JdbcConnection.ConnectionFactoryDecorator
- Enclosing class:
- JdbcConnection
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Establishes JDBC connections.
-
Method Summary
Modifier and TypeMethodDescriptionconnect
(JdbcConfiguration config) Establish a connection to the database denoted by the given configuration.
-
Method Details
-
connect
Establish a connection to the database denoted by the given configuration.- Parameters:
config
- the configuration with JDBC connection information- Returns:
- the JDBC connection; may not be null
- Throws:
SQLException
- if there is an error connecting to the database
-