public class MySQLImporter extends DBImporter
Modifier and Type | Method and Description |
---|---|
protected java.sql.Connection |
connectToDB(DBStrings dbstrings)
Given a DBStrings it connects to the DB and returns the
java.sql.Connection object
|
static MySQLImporter |
getInstance() |
protected java.sql.ResultSet |
readColumnNames(java.sql.Connection conn) |
findGroupTypeName, importGroupsTree, performImport
getDatabaseIDByName, removeAGivenDB, removeAllRecordsForAGivenDB, removeDB
public static MySQLImporter getInstance()
protected java.sql.ResultSet readColumnNames(java.sql.Connection conn) throws java.sql.SQLException
readColumnNames
in class DBImporter
conn
- Connection object to the databasejava.sql.SQLException
protected java.sql.Connection connectToDB(DBStrings dbstrings) throws java.lang.Exception
DBImporter
connectToDB
in class DBImporter
dbstrings
- The DBStrings to use to make the connectionjava.lang.Exception