Questions tagged [jooq-codegen-maven]

72 questions
2
votes
1 answer

JOOQ Code Generation via JPADatabase problem with custom composite user type

I am trying to use JOOQ code generation from JPA Entity. I have already created a dedicated maven module where the code will be generated which has dependency on a module containing all entities as well code generation plugin with of jooq. To add…
fgakk
  • 1,289
  • 1
  • 15
  • 26
2
votes
2 answers

kotlin field foo and isFoo clash: The following declarations have the same JVM signature

data class Bar( var foo: String = "", var isFoo: String = "" ) compiler reports error: Platform declaration clash: The following declarations have the same JVM signature (setFoo(Ljava/lang/String;)V): public final fun (: String?): Unit…
Bill Billy
  • 137
  • 12
2
votes
1 answer

json values not supported by jooq

I am trying to insert into books table using jooq in java. books table has two columns book_id integer,jsonb_column jsonb. However the final query formed is not correct. The values for jsonb is not populated. This is my query formed. insert into…
Abhishek
  • 650
  • 1
  • 8
  • 31
2
votes
1 answer

Jooq with POJO Converter

I am trying to implement a software to read and write data into an h2 database with the help of Jooq. My PLC_DATA Table has a column with TIMESTAMP which is normally mapped to LocalDateTime but I need this data to be mapped to Instant in my POJO, so…
Stefano Bossi
  • 1,138
  • 1
  • 9
  • 19
1
vote
0 answers

Jooq code generation with bigquery fails on querying INFORMATION_SCHEMA

I am using jooq and trying to generate code for sql building. I succesfuly connected to db and configured code generator, but when run it fails while querying for tables information. This looks like possible bug but I am not sure if I'm doing…
1
vote
1 answer

How to add Oracle dialect to DSLContext

I'm not able to get SQLDialect.Oracle in the following version of jOOQ: org.jooq jooq 3.17.8 org.jooq
fatherazrael
  • 5,511
  • 16
  • 71
  • 155
1
vote
1 answer

Disable jOOQ logo and tip during codegen via maven

I'm using the maven plugin org.jooq.meta.extensions.ddl.DDLDatabase for generating jOOQ code at build time. org.jooq jooq-codegen-maven ${jooq.version}
Keerthi
  • 466
  • 6
  • 12
1
vote
1 answer

JOOQ how generate record without connection to database

What does your approach to generating Records during compilation time look like without connection to the database? I use to maven plugin for that but I still need a connection to the database but I don't have one.
Matrix12
  • 446
  • 8
  • 19
1
vote
1 answer

Blob insert/update in jooq

Getting "error occurred during batching: ORA-00933 SQL command not properly ended. I'm trying to update/insert byte array in Oracle BLOB column using jooq syntax as follows:- Map, Object> fieldValueMap = new…
1
vote
0 answers

Generate OffsetDateTime type in jOOQ Metamodel (for Postgres) does not work

I am using: Jooq 3.16.10, Java 11, Spring boot 2.6.7 and Postgres 14 and a maven plugin for jOOQ. I generate the metamodel from Postgres. The DDL looks like this: CREATE TABLE IF NOT EXISTS table ( .... "id" uuid, "created_datetime"…
user6595600
  • 43
  • 1
  • 5
1
vote
0 answers

jooq-codegen for different DB with different Posgres versions

I have a following jooq-codegen-maven configuration for different DBs: org.jooq jooq-codegen-maven ${jooq.version}
Y N
  • 56
  • 6
1
vote
0 answers

Embeddable generating wrong field index

I got a table that contains (amongst others), columns docusign_account_id TEXT NOT NULL, docusign_envelope_id TEXT NOT NULL, (which are the only docusign_... columns). I'd like to bundle those into an embeddable with a configuration…
User1291
  • 7,664
  • 8
  • 51
  • 108
1
vote
1 answer

JOOQ - Codegen - How to generate DAOs and POJOs into two differents Maven module

I use JOOQ with a PostgreSQL database. For the moment all the code generated by JOOQ is in the same Maven project. I would like to know if it is possible to separate the JOOQ code generation in two separate Maven modules: in a server module: JOOQ…
PEUGENE
  • 13
  • 3
1
vote
1 answer

Routines and Stored procedures in JOOQ

Am I writing this code correctly? select sbcm_ref.process_legal_entities_buf_record(legal_entities_buf_id value from table…
1
vote
1 answer

JOOQ code generation with Liquibase, reserved keyword? (error with "value" column name)

I have a table defined in a liquibase script with a column named "value": - column: name: value type: VARCHAR constraints: - nullable: false dbms is postgresql When running the JOOQ codegen with the maven plugin, it runs the…