@FunctionalInterface public interface LastSequenceNumberForStatementBuilder
JdbcEventStorageEngine.lastSequenceNumberFor(String)| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
build(Connection connection,
EventSchema schema,
String aggregateIdentifier)
Creates a statement to be used at
JdbcEventStorageEngine.lastSequenceNumberFor(String) |
PreparedStatement build(Connection connection, EventSchema schema, String aggregateIdentifier) throws SQLException
JdbcEventStorageEngine.lastSequenceNumberFor(String)connection - The connection to the database.schema - The EventSchema to be usedaggregateIdentifier - The identifier of the aggregate.PreparedStatement.SQLException - when an exception occurs while creating the prepared statement.Copyright © 2010–2023. All rights reserved.