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, performImportgetDatabaseIDByName, removeAGivenDB, removeAllRecordsForAGivenDB, removeDBpublic static MySQLImporter getInstance()
protected java.sql.ResultSet readColumnNames(java.sql.Connection conn)
throws java.sql.SQLException
readColumnNames in class DBImporterconn - Connection object to the databasejava.sql.SQLExceptionprotected java.sql.Connection connectToDB(DBStrings dbstrings) throws java.lang.Exception
DBImporterconnectToDB in class DBImporterdbstrings - The DBStrings to use to make the connectionjava.lang.Exception