Class Oracle11TokenTableFactory
java.lang.Object
org.axonframework.eventhandling.tokenstore.jdbc.Oracle11TokenTableFactory
- All Implemented Interfaces:
TokenTableFactory
Jdbc token entry table factory for Oracle databases.
- Author:
- Rene de Waele
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Oracle11TokenTableFactoryCreates a singleton reference the the Oracle11TokenTableFactory implementation. -
Constructor Summary
Constructors -
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.
-
Field Details
-
INSTANCE
Creates a singleton reference the the Oracle11TokenTableFactory implementation.
-
-
Constructor Details
-
Oracle11TokenTableFactory
protected Oracle11TokenTableFactory()
-
-
Method Details
-
createTable
Description copied from interface:TokenTableFactoryCreates a PreparedStatement that allows for the creation of the table to store tracking token entries.- Specified by:
createTablein interfaceTokenTableFactory- 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
-