class JdbcParamVersionRepository implements ParamVersionRepository, InitializableComponent {

    @Override
    public Long versionOfParam(String paramName) {
        if (!hasVersionOfParam(paramName)) {
            return null;
        }

        SelectQuery query = QueryFactory.select("version").from(configuration.entityName()).where("name = :name")
                .withArgument("name", paramName);
        return queryRunner.queryUnique(query, new LongMapper());
    }

    public  JdbcParamVersionRepository(ParamVersionSchemaCreator schemaCreator,
                                      JdbcConfig configuration,
                                      SimpleQueryRunner queryRunner,
                                      TransactionRunner transactionRunner);

}