@Override
	public Connection getConnection() throws DatabaseManagerException {
		DataSource dataSource = getDbSource(); 
		if(dataSource == null) {
			throw new DatabaseManagerException("<connection> No Datasource. Cannot get a connection.");
		}
		try {
			return dataSource.getConnection();
		} catch (SQLException e) {
			e.printStackTrace();
			throw new DatabaseManagerException(e.getMessage());
		}
	}