@Override
	public Connection getConnection() throws DatabaseManagerException {
		try {
			Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
			return DriverManager.getConnection("jdbc:derby:" + createConnectionString());
		} catch (SQLException e) {
			throw new DatabaseManagerException("Failed to get connection using url: " + createConnectionString(),e);
		} catch (ClassNotFoundException e) {
			throw new DatabaseManagerException("Failed to get connection as the Derby class could not be found.",e);
		}	
	}