Questions tagged [jooq-codegen-maven]
72 questions
0
votes
1 answer
Using maven jooq codegen plugin without the access to mysql database
We are using the jooq codegen plugin to produce dao and pojo classes for one of the MySQL databases. The configuration is as follows:
org.jooq
jooq-codegen-maven
…

Abhishek Bansal
- 56
- 8
0
votes
1 answer
Jooq code generation from multiple databases
How can I configure my maven to generate code from different databases?
I have this configuration:
org.jooq
jooq-codegen-maven
3.16.1
…

alf3ratz
- 21
- 5
0
votes
1 answer
jOOQ 3.16 (and 3.16.1) breaks build
We are currently using jOOQ 3.15.5 (Java) and everything is good. When we attempt to upgrade to 3.16.0 or 3.16.1, some of our BOOLEAN fields are represented as Object in their record java classes.

seyedsub
- 3
- 2
0
votes
0 answers
IntelliJ not running jOOQ codegen plugin on build of maven imported project
I have a maven multiple module project and I use IntelliJ for development (importing the POM). The project structure is:
project
entities-module (JPA entities)
query-module (jOOP codegen maven plugin using JPADatabase)
app-module(app logic…

Alejandro Abdelnur
- 21
- 1
0
votes
1 answer
Build failure while trying to update to "org.jooq:jooq-codegen-maven:3.15.1"
[ERROR] Failed to execute goal org.jooq:jooq-codegen-maven:3.15.1:generate (default) on project event-dao-jooq: Execution default of goal org.jooq:jooq-codegen-maven:3.15.1:generate failed: Unable to load the mojo 'generate' in the plugin…

Kunal
- 9
- 2
0
votes
1 answer
Can JOOQ alias a Liquibase JSONB data type for H2/Postgresql
I'm using this H2 feature to create an alias for JSONB in the jdbc string:
spring.datasource.url: jdbc:h2:mem:testdb;INIT=create domain if not exists jsonb as text;MODE=PostgreSQL
But JOOQs' codegen liquibase support (generator pointed at liquibase…

Ken Yee
- 11
- 2
0
votes
1 answer
Unable to create records using custom generator strategy for getter names
I'm on jOOQ 3.13.1, dropwizard 2.0.7. To make jOOQ and dropwizard together, I am using (https://droptools.bendb.com/jooq/). I am using custom generation strategy to maintain camel case for my setters and getters. The names are coming in as…

Shubh Ketan Agarwal
- 1
- 1
- 4
0
votes
1 answer
trouble generating code with JOOQ from an MS SQL db
I'm trying to use JOOQ to generate code files from an existing database in a Spring Boot application. However, when I run the maven plugin, I'm getting the following error:
[ERROR] Failed to execute goal org.jooq:jooq-codegen-maven:3.13.3:generate…

end-user
- 2,845
- 6
- 30
- 56
0
votes
1 answer
How to fix generating proper value type for INPUT parameter in jOOQ for generated user-defined PL/pgSQL function using tag?
I'm having an issue with resolving issue with for stored function written in PL/pgSQL in my generated Routines. This question is more specific for solving problem I had already asked in this question and answer is partially provided in…

NikolaS
- 503
- 2
- 8
- 20
0
votes
1 answer
How to access jOOQ generated Routine's field as value by using Custom Converter?
I'm having an issue with accessing field of generated Routine from PL/pgSQL user-defined function (which returns JSON data type as a result) already mentioned in this question.
This is my result of get_all_orders() function created in PL/pgSQL of…

NikolaS
- 503
- 2
- 8
- 20
0
votes
1 answer
How to perform SELECT query of PL/pgSQL user-defined function in jOOQ which returns JSON type?
I'm having issue with finding right way to cast my user-defined function in PL/pgSQL into jOOQ code. My user-defined function in PL/pgSQL returns JSON type and I need to somehow adjust/cast it in jOOQ. I've Googled examples, but found none.
Just in…

NikolaS
- 503
- 2
- 8
- 20
0
votes
1 answer
java.lang.ClassNotFoundException: org.postgresql.Driver from jooq code generating task
I am implementing java-spring-boot project ( jdk11, spring boot 2.3.0.RELEASE ) using jooq-hikari-hibernate-postgres for back end.
I have already created the tables using flyway.
I have created a task name "generateJooqRepo" in build.gradle to…

VictorGram
- 2,521
- 7
- 48
- 82