Skip to content

Tag: jooq

JOOQ With Oracle: ORA-00911: invalid character

I am using JOOQ With Oracle 19. In running a Simple query, it is giving invalid character below. Not sure why its creating quotes ‘ either. Java and stack trace SQL below. How can this be fixed for a simple query? It compiles fine however it running produces error. Java: Console Log I copied the SQL que…

JOOQ Setup Oracle with Maven Code Generation

I am trying to setup an Oracle database with JOOQ on Maven for Code Generation. Currently trying to connect with Oracle Database JDBC. https://www.jooq.org/doc/2.6/manual/code-generation/codegen-configuration/ The following example from resource is Postgresql. What is the syntax for Dependencies for Oracle se…

Java JOOQ parse query to ArrayList with object

I have a problem. I am using JOOQ, with that I created the following query: Now I also have the following class: Now I want the result of the query to be parsed to an ArrayList<Candlestick>. I found this page: https://www.jooq.org/doc/3.0/manual/sql-execution/fetching/arrays-maps-and-lists/ that shows h…

jOOQ – DefaultRecordMapper – List

Can the DefaultRecordMapper handle lists? Model example (really getter/setter are used): I first tried it with a simple select: Also I have tried using the nested syntax but it didn’t work: The list never gets initialized. I am unsure if I could be doing something wrong. Is this possible with the Defaul…

Access Kotlin Jooq generated sources in JAVA

I am using Jooq 3.14.7 version to generate Kotlin sources. My code base has both Java and Kotlin class and we are transitioning to Kotlin. I am able to access Jooq sources in Kotlin class like below (FetchBooks.kt) But in Java classes I have to go like this below (FetchBooks.java) This seems a pretty messy wa…