Package de.chojo.sqlutil.databases
Class MySql
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get a unique name to identify the database.Returns theJdbcConfigimplementation for this databaseString[]splitStatements(String queries) If the db does not allow to execute multiple queries this function should return every query in one stringMethods inherited from class de.chojo.sqlutil.databases.DefaultType
createVersionTableQuery, deleteVersion, getVersion, insertVersionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.chojo.sqlutil.databases.SqlType
cleanStatements, createSchema, hasSchemas, schemaExists
-
Constructor Details
-
MySql
public MySql()
-
-
Method Details
-
getName
Description copied from interface:SqlTypeGet a unique name to identify the database.- Returns:
- database name
-
jdbcBuilder
Description copied from interface:SqlTypeReturns theJdbcConfigimplementation for this database- Returns:
- jdbc builder
-
splitStatements
Description copied from interface:SqlTypeIf the db does not allow to execute multiple queries this function should return every query in one string- Parameters:
queries- queries- Returns:
- splitted queries if needed
-