Interface TokenTableFactory
- All Known Implementing Classes:
GenericTokenTableFactory,Oracle11TokenTableFactory,PostgresTokenTableFactory
public interface TokenTableFactory
Interface describing a factory for JDBC to create the table containing tracking token entries.
- Author:
- Rene de Waele
-
Method Summary
Modifier and TypeMethodDescriptioncreateTable(Connection connection, TokenSchema schema) Creates a PreparedStatement that allows for the creation of the table to store tracking token entries.
-
Method Details
-
createTable
Creates a PreparedStatement that allows for the creation of the table to store tracking token entries.- Parameters:
connection- The connection to create the PreparedStatement forschema- The token schema with the name of the table and its columns- Returns:
- The statement to create the table, ready to be executed
- Throws:
SQLException- when an exception occurs while creating the prepared statement
-