public class VersionTable extends Table
db, tableName, usingMySQL
Constructor and Description |
---|
VersionTable(SQLDB db,
boolean usingMySQL) |
Modifier and Type | Method and Description |
---|---|
boolean |
createTable() |
int |
getVersion() |
void |
setVersion(int version) |
close, execute, getConnection, getTableName, prepareStatement, removeAllData
public VersionTable(SQLDB db, boolean usingMySQL)
db
- usingMySQL
- public boolean createTable()
createTable
in class Table
public int getVersion() throws SQLException
getVersion
in class Table
SQLException
public void setVersion(int version) throws SQLException
version
- SQLException
Copyright © 2017. All rights reserved.