public final class SchemaVersionStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, JdbcAbstractStore.StatementValues<T>
datasource
Constructor and Description |
---|
SchemaVersionStore(javax.sql.DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
void |
add(SchemaVersion value) |
java.util.List<SchemaVersion> |
get(int major,
int build) |
java.util.List<ComponentVersion> |
getComponentsVersion() |
void |
updateComponentVersion(java.lang.String component,
java.lang.String version) |
batchInsert, batchInsert, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, inTransaction, lastInsertId, select, select, select, staticInTransaction, unique, unique, unique, unique, update, update, update, update, update
public SchemaVersionStore(javax.sql.DataSource dataSource)
dataSource
- public void add(SchemaVersion value)
public java.util.List<SchemaVersion> get(int major, int build)
public java.util.List<ComponentVersion> getComponentsVersion() throws java.sql.SQLException
java.sql.SQLException
public void updateComponentVersion(java.lang.String component, java.lang.String version) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.