Class Oracle11TokenTableFactory

java.lang.Object
org.axonframework.eventhandling.tokenstore.jdbc.Oracle11TokenTableFactory
All Implemented Interfaces:
TokenTableFactory

public class Oracle11TokenTableFactory extends Object implements TokenTableFactory
Jdbc token entry table factory for Oracle databases.
Author:
Rene de Waele
  • Field Details

    • INSTANCE

      public static final Oracle11TokenTableFactory INSTANCE
      Creates a singleton reference the the Oracle11TokenTableFactory implementation.
  • Constructor Details

    • Oracle11TokenTableFactory

      protected Oracle11TokenTableFactory()
  • Method Details

    • createTable

      public PreparedStatement createTable(Connection connection, TokenSchema schema) throws SQLException
      Description copied from interface: TokenTableFactory
      Creates a PreparedStatement that allows for the creation of the table to store tracking token entries.
      Specified by:
      createTable in interface TokenTableFactory
      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