class DatabaseSchemaVersionManager implements AppliedChangesProvider {

	public List<Long> getAppliedChanges() {
		try {
			ResultSet rs = queryExecuter.executeQuery(
					"SELECT change_number FROM " + changeLogTableName + "  ORDER BY change_number");

			List<Long> changeNumbers = new ArrayList<Long>();

			while (rs.next()) {
				changeNumbers.add(rs.getLong(1));
			}

			rs.close();

			return changeNumbers;
		} catch (SQLException e) {
			throw new SchemaVersionTrackingException("Could not retrieve change log from database because: "
					+ e.getMessage(), e);
		}
	}

	public  DatabaseSchemaVersionManager(QueryExecuter queryExecuter, String changeLogTableName);

}