Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect default JDBC columns names #489

Closed
barteksc opened this issue May 7, 2024 · 2 comments
Closed

Incorrect default JDBC columns names #489

barteksc opened this issue May 7, 2024 · 2 comments
Labels

Comments

@barteksc
Copy link

barteksc commented May 7, 2024

Starting with 8.11, it looks like there is a mistake when assigning default columns names in the io.github.bucket4j.distributed.jdbc.AbstractJdbcProxyManagerBuilder class:

    private String idColumnName = "state";
    private String stateColumnName = "id";

These two columns names are swapped.

@vladimir-bukhtoyarov
Copy link
Collaborator

Hello @barteksc

Thank you for reporting. I will deploy fix at weekend. Currently, just specify column names explicitly.

@vladimir-bukhtoyarov
Copy link
Collaborator

Fix released with version 8.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants