org.axonframework.saga.repository.jdbc
Class HsqlSagaSqlSchema

java.lang.Object
  extended by org.axonframework.saga.repository.jdbc.GenericSagaSqlSchema
      extended by org.axonframework.saga.repository.jdbc.HsqlSagaSqlSchema
All Implemented Interfaces:
SagaSqlSchema

public class HsqlSagaSqlSchema
extends GenericSagaSqlSchema

Specialization of the GenericSagaSqlSchema for use in the HSQL database.

Since:
2.2
Author:
Kristian Rosenvold

Field Summary
 
Fields inherited from class org.axonframework.saga.repository.jdbc.GenericSagaSqlSchema
schemaConfiguration
 
Constructor Summary
HsqlSagaSqlSchema()
           
 
Method Summary
 PreparedStatement sql_createTableAssocValueEntry(Connection conn)
          Creates a PreparedStatement that creates the table for storing Association Values for Sagas.
 
Methods inherited from class org.axonframework.saga.repository.jdbc.GenericSagaSqlSchema
readSerializedSaga, sql_createTableSagaEntry, sql_deleteAssociationEntries, sql_deleteSagaEntry, sql_findAssocSagaIdentifiers, sql_loadSaga, sql_removeAssocValue, sql_storeAssocValue, sql_storeSaga, sql_updateSaga
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HsqlSagaSqlSchema

public HsqlSagaSqlSchema()
Method Detail

sql_createTableAssocValueEntry

public PreparedStatement sql_createTableAssocValueEntry(Connection conn)
                                                 throws SQLException
Description copied from interface: SagaSqlSchema
Creates a PreparedStatement that creates the table for storing Association Values for Sagas.

Specified by:
sql_createTableAssocValueEntry in interface SagaSqlSchema
Overrides:
sql_createTableAssocValueEntry in class GenericSagaSqlSchema
Parameters:
conn - The connection to create the PreparedStatement for
Returns:
a Prepared statement that created the Association Value table, when executed
Throws:
SQLException - when an error occurs creating the PreparedStatement


Copyright © 2010-2016. All Rights Reserved.