Package generalDatabase
Class MySQLSystem
java.lang.Object
generalDatabase.DBSystem
generalDatabase.ServerBasedSystem
generalDatabase.MySQLSystem
- All Implemented Interfaces:
PamSettings
,SettingsNameProvider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildDatabaseUrl
(String ipAddress, int portNumber, String databaseName) int
Get the database schema name - the name of the databse on the server which manages the other databasesGet the SQLTypes object which can be used to preform system specific formatting of SQL strings.Methods inherited from class generalDatabase.ServerBasedSystem
browseDatabases, browseDatabasesFX, canCreate, checkDatabaseExists, create, createNewDatabase, createPamCursor, exists, getConnection, getDatabaseName, getDialogPaneFX, getDialogPanel, getSettingsReference, getSettingsVersion, getUnitName, hasDriver, isServerConnected, restoreSettings
Methods inherited from class generalDatabase.DBSystem
canOpenDatabase, checkDatabaseExists, closeConnection, getConnection, getKeywords, getShortDatabaseName, openCurrentDatabase
-
Field Details
-
SYSTEMNAME
- See Also:
-
-
Constructor Details
-
MySQLSystem
-
-
Method Details
-
getDriverClassName
- Specified by:
getDriverClassName
in classServerBasedSystem
-
getDefaultUser
- Specified by:
getDefaultUser
in classServerBasedSystem
-
getAvailableDatabaseString
- Specified by:
getAvailableDatabaseString
in classServerBasedSystem
-
checkAvailableDatabaseResult
- Specified by:
checkAvailableDatabaseResult
in classServerBasedSystem
-
buildDatabaseUrl
- Specified by:
buildDatabaseUrl
in classServerBasedSystem
-
getSchemaName
Description copied from class:ServerBasedSystem
Get the database schema name - the name of the databse on the server which manages the other databases- Specified by:
getSchemaName
in classServerBasedSystem
- Returns:
-
getUnitType
- Returns:
- A Name specific to the type, e.g. Click detector
-
getSystemName
- Specified by:
getSystemName
in classServerBasedSystem
- Returns:
- The name of the database system
-
getDefaultPort
public int getDefaultPort()- Specified by:
getDefaultPort
in classServerBasedSystem
-
getSqlTypes
Description copied from class:DBSystem
Get the SQLTypes object which can be used to preform system specific formatting of SQL strings.- Specified by:
getSqlTypes
in classDBSystem
- Returns:
-