org.jtheque.collections.tools.services.impl.database
Class MysqlDatabase
java.lang.Object
org.jtheque.collections.tools.services.impl.database.AbstractDatabase
org.jtheque.collections.tools.services.impl.database.MysqlDatabase
- All Implemented Interfaces:
- Database
public final class MysqlDatabase
- extends AbstractDatabase
A MySQL Database.
- Author:
- Baptiste Wicht
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MysqlDatabase
public MysqlDatabase()
closeConnection
public void closeConnection(Connection connection)
- Description copied from interface:
Database
- Close the connection to the database.
- Parameters:
connection
- The connection to the database.
getDriver
public String getDriver()
- Description copied from interface:
Database
- Return the driver for the connection.
- Returns:
- The string representation of the JDBC driver class.
getPrefixUrl
public String getPrefixUrl()
- Description copied from class:
AbstractDatabase
- Return the prefix of the URL.
- Specified by:
getPrefixUrl
in class AbstractDatabase
- Returns:
- The start of the url.
Copyright © 2010 JTheque. All Rights Reserved.