public class SQLLiteTableUtilities
extends java.lang.Object
Constructor and Description |
---|
SQLLiteTableUtilities(java.sql.Connection sqlConnection) |
Modifier and Type | Method and Description |
---|---|
void |
cleanTables(java.lang.String codingScheme)
Remove all data from the tables of a given Coding Scheme
|
void |
createAllTables()
Creates the Tables
|
void |
createTableConstraints()
Creates the constraints on the tables
|
void |
dropTableConstraints() |
java.lang.String |
getDatabaseType()
Returns the specific database type
|
public SQLLiteTableUtilities(java.sql.Connection sqlConnection) throws java.lang.Exception
sqlConnection
- java.lang.Exception
public java.lang.String getDatabaseType()
public void createAllTables() throws java.sql.SQLException
java.sql.SQLException
public void createTableConstraints() throws java.sql.SQLException
java.sql.SQLException
public void dropTableConstraints() throws java.sql.SQLException
java.sql.SQLException
public void cleanTables(java.lang.String codingScheme) throws java.sql.SQLException
codingScheme
- target Coding Schemejava.sql.SQLException