Relative Content

Tag Archive for jooq

jOOQ: How to Handle Duplicate Table Definitions

Background I have a database with many duplicate table schemas. A quick example is the following two objects. Notice that ORDER is the exact same as INVOICE and ORDER_LINE is the same as INVOICE_LINE. ORDER ORDER_LINE vs. INVOICE INVOICE_LINE – id – parent_id – id – parent_id – total – line_number – total – line_number […]

jOOQ Mapping of Reused Table Schema

I am using jOOQ to interact with our ERP database. The database has multiple business objects like orders, invoices, returns, etc. All of these have the exact same schema in the database, meaning that the Order table, Invoice table, Return table, all have the same column definitions.

Jooq produces Runtime-Error for Row-Value-Expression

I got a runtime-error when using the row() Syntax of jooq, and im not sure where the problem is. When the row() part is removed from the query, it executes correctly. Following code-example produces the error:

Jooq produces Runtime-Error for Row-Mapping

I got a runtime-error when using the row() Syntax of jooq, and im not sure where the problem is. When the row() part is removed from the query, it executes correctly. Following code-example produces the error: