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 Type
    Method
    Description
    createTable(Connection connection, TokenSchema schema)
    Creates a PreparedStatement that allows for the creation of the table to store tracking token entries.
  • Method Details

    • createTable

      PreparedStatement createTable(Connection connection, TokenSchema schema) throws SQLException
      Creates a PreparedStatement that allows for the creation of the table to store tracking token entries.
      Parameters:
      connection - The connection to create the PreparedStatement for
      schema - 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