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

jOOQ 3.19 #231

Open
ef-marc opened this issue Oct 10, 2024 · 2 comments
Open

jOOQ 3.19 #231

ef-marc opened this issue Oct 10, 2024 · 2 comments

Comments

@ef-marc
Copy link

ef-marc commented Oct 10, 2024

Hi,

I'd like to use your extension in a project that requires jooq 3.19. I see you already made some commits to support that version. When will you release it?

We require 3.19 because of the gradle jooq plugin (https://www.jooq.org/doc/latest/manual/code-generation/codegen-gradle/).

@gofabian
Copy link

I cannot recommend the extension quarkus-jooq because it has been outdated quite a long time now. If you look at the code you will see that it doesn't do much.

A simple alternative is to remove quarkus-jooq from your project. You can replace it with two small additions:

Add the dependency org.jooq:jooq:<latest_version> and the following class to your project:

@Dependent
class JooqContextProducer(
    private val dataSource: AgroalDataSource
) {

    @Produces
    fun dslContext(): DSLContext {
        return DSL.using(dataSource, SQLDialect.POSTGRES)
    }

}

That's it. Now you will be able to use the latest jooq version.

@ef-marc
Copy link
Author

ef-marc commented Dec 16, 2024

That's exactly what i did after not receiving a response. Thx for your reply.

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

No branches or pull requests

2 participants