package daruma.sql;

import daruma.sql.DatabaseConnectionFactory;
import daruma.sql.MySQLDatabaseConnection;

public class MySQLDatabaseConnectionFactory extends DatabaseConnectionFactory
{
	public	MySQLDatabaseConnectionFactory()
					 throws DatabaseConnectionException
	{
		super.loadClass();
	}


	// implementation of DatabaseConnectionFactory.getDriverClass()
	@Override
	public	String	getDriverClass()
	{
		return( "com.mysql.jdbc.Driver" );
	}


	// implementation of DatabaseConnectionFactory.create()
	@Override
	public	DatabaseConnection	create()
	{
		return( new MySQLDatabaseConnection() );
	}
}
