public class Oracle11EventTableFactory extends AbstractEventTableFactory
| Constructor and Description |
|---|
Oracle11EventTableFactory() |
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
createDomainEventTable(Connection connection,
EventSchema schema)
Creates a PreparedStatement that allows for the creation of the table to store Event entries.
|
PreparedStatement |
createSnapshotEventTable(Connection connection,
EventSchema schema)
Creates a PreparedStatement that allows for the creation of the table to store Snapshots.
|
protected String |
idColumnType()
Returns the sql to register the auto incrementing global sequence column.
|
protected String |
payloadType()
Returns the sql to describe the type of payload column.
|
timestampTypepublic PreparedStatement createDomainEventTable(Connection connection, EventSchema schema) throws SQLException
EventTableFactorycreateDomainEventTable in interface EventTableFactorycreateDomainEventTable in class AbstractEventTableFactoryconnection - The connection to create the PreparedStatement forschema - The event schema with the name of the table and its columnsSQLException - when an exception occurs while creating the prepared statementpublic PreparedStatement createSnapshotEventTable(Connection connection, EventSchema schema) throws SQLException
EventTableFactorycreateSnapshotEventTable in interface EventTableFactorycreateSnapshotEventTable in class AbstractEventTableFactoryconnection - The connection to create the PreparedStatement forschema - The event schema with the name of the table and its columnsSQLException - when an exception occurs while creating the prepared statementprotected String idColumnType()
AbstractEventTableFactoryidColumnType in class AbstractEventTableFactoryprotected String payloadType()
AbstractEventTableFactorypayloadType in class AbstractEventTableFactoryCopyright © 2010–2023. All rights reserved.