Class.forName!

This commit is contained in:
Shaun Bennett 2016-02-19 02:40:14 -06:00
parent d3d22bbec9
commit 3b10207503

View File

@ -12,6 +12,17 @@ import mineplex.serverdata.database.column.Column;
public abstract class RepositoryBase
{
static
{
try
{
Class.forName("com.mysql.jdbc.Driver");
} catch (ClassNotFoundException e)
{
e.printStackTrace();
}
}
private DataSource _dataSource; // Connection pool
/**