public class EvolutionQuery
extends java.lang.Object
Constructor and Description |
---|
EvolutionQuery() |
Modifier and Type | Method and Description |
---|---|
static void |
alterForModuleSupport(java.lang.String dbName,
java.sql.Connection connection) |
static void |
apply(java.sql.Connection connection,
boolean runScript,
Evolution evolution,
java.lang.String moduleKey) |
static void |
closeConnection(java.sql.Connection connection) |
static void |
closeResultSet(java.sql.ResultSet resultSet) |
static void |
closeStatement(java.sql.Statement statement) |
static void |
createTable(java.lang.String dbName) |
static javax.sql.RowSet |
getEvolutions(java.sql.Connection connection,
java.lang.String moduleKey) |
static javax.sql.RowSet |
getEvolutionsToApply(java.sql.Connection connection,
java.lang.String moduleKey) |
static java.sql.Connection |
getNewConnection() |
static java.sql.Connection |
getNewConnection(java.lang.String dbName) |
static java.sql.Connection |
getNewConnection(java.lang.String dbName,
boolean autoCommit) |
static void |
resolve(java.lang.String dbName,
int revision,
java.lang.String moduleKey) |
static void |
setProblem(java.sql.Connection connection,
int applying,
java.lang.String moduleKey,
java.lang.String message) |
public static void createTable(java.lang.String dbName) throws java.sql.SQLException
java.sql.SQLException
public static void alterForModuleSupport(java.lang.String dbName, java.sql.Connection connection) throws java.sql.SQLException
java.sql.SQLException
public static void resolve(java.lang.String dbName, int revision, java.lang.String moduleKey) throws java.sql.SQLException
java.sql.SQLException
public static void apply(java.sql.Connection connection, boolean runScript, Evolution evolution, java.lang.String moduleKey) throws java.sql.SQLException
java.sql.SQLException
public static void setProblem(java.sql.Connection connection, int applying, java.lang.String moduleKey, java.lang.String message) throws java.sql.SQLException
java.sql.SQLException
public static javax.sql.RowSet getEvolutionsToApply(java.sql.Connection connection, java.lang.String moduleKey) throws java.sql.SQLException
java.sql.SQLException
public static javax.sql.RowSet getEvolutions(java.sql.Connection connection, java.lang.String moduleKey) throws java.sql.SQLException
java.sql.SQLException
public static java.sql.Connection getNewConnection() throws java.sql.SQLException
java.sql.SQLException
public static java.sql.Connection getNewConnection(java.lang.String dbName) throws java.sql.SQLException
java.sql.SQLException
public static java.sql.Connection getNewConnection(java.lang.String dbName, boolean autoCommit) throws java.sql.SQLException
java.sql.SQLException
public static void closeResultSet(java.sql.ResultSet resultSet)
public static void closeStatement(java.sql.Statement statement)
public static void closeConnection(java.sql.Connection connection)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly