public class PostgresSagaSqlSchema extends GenericSagaSqlSchema
Constructor and Description |
---|
PostgresSagaSqlSchema()
Initialize a PostgresSagaSqlSchema using the default schema configuration.
|
PostgresSagaSqlSchema(SagaSchema sagaSchema)
Initialize a PostgresSagaSqlSchema using the given
sagaSchema . |
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
sql_createTableAssocValueEntry(Connection conn)
Creates a PreparedStatement that creates the table for storing Association Values for Sagas.
|
PreparedStatement |
sql_createTableSagaEntry(Connection conn)
Creates a PreparedStatement that creates the table for storing Sagas.
|
readAssociationValues, readSerializedSaga, readToken, sagaSchema, sql_deleteAssociationEntries, sql_deleteSagaEntry, sql_findAssociations, sql_findAssocSagaIdentifiers, sql_loadSaga, sql_removeAssocValue, sql_storeAssocValue, sql_storeSaga, sql_updateSaga
public PostgresSagaSqlSchema()
public PostgresSagaSqlSchema(SagaSchema sagaSchema)
sagaSchema
.sagaSchema
- the saga schema configurationpublic PreparedStatement sql_createTableAssocValueEntry(Connection conn) throws SQLException
SagaSqlSchema
sql_createTableAssocValueEntry
in interface SagaSqlSchema
sql_createTableAssocValueEntry
in class GenericSagaSqlSchema
conn
- The connection to create the PreparedStatement forSQLException
- when an error occurs creating the PreparedStatementpublic PreparedStatement sql_createTableSagaEntry(Connection conn) throws SQLException
SagaSqlSchema
sql_createTableSagaEntry
in interface SagaSqlSchema
sql_createTableSagaEntry
in class GenericSagaSqlSchema
conn
- The connection to create the PreparedStatement forSQLException
- when an error occurs creating the PreparedStatementCopyright © 2010–2017. All rights reserved.