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

HikariDataPool may produce ClassCastException when vertx-jooq.yml config as follows: #304

Open
nutsjian opened this issue Dec 1, 2021 · 1 comment
Assignees
Labels
Wait for Validation Extra attention is needed

Comments

@nutsjian
Copy link

nutsjian commented Dec 1, 2021

jooq:
  provider:
    driverClassName: com.mysql.cj.jdbc.Driver
    username: root
    password: 123456
    hostname: database.0coolvertx0.io
    instance: DB_ETERNAL
    jdbcUrl: jdbc:mysql://database.0coolvertx0.io:3306/DB_ETERNAL
    options:
      hikari.max.lifetime: 25600000
      hikari.minimum.idle: 2
      hikari.maximum.pool.size: 8

line:70
this.dataSource.setMaxLifetime(this.database.getOption(OPT_MAX_LIFETIME, 25600000L));

hikari.max.lifetime:java.lang.Integer cannot be cast to class java.lang.Long

@silentbalanceyh silentbalanceyh self-assigned this Dec 1, 2021
@silentbalanceyh
Copy link
Owner

Add new Api for JsonObject extract data to avoid auto cast here. Sorry to delay. The latest version 0.9.0-SNAPSHOT fixed.

@silentbalanceyh silentbalanceyh added the Wait for Validation Extra attention is needed label Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Wait for Validation Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants