class LevelDAO {

    public void deleteParameterLevels(QueryRunner queryRunner, String parameterName) {
        DeleteQuery query = QueryFactory.delete().from(configuration.levelEntityName())
                .where("fk_parameter = (select id from " + configuration.parameterEntityName() + " where name = :parameterName)")
                .withArgument("parameterName", parameterName);
        queryRunner.delete(query);
    }

    public  LevelDAO(JdbcConfig configuration);

}