Skip to content Skip to sidebar Skip to footer
Showing posts with the label Jooq

Runtime Validation Of Jooq Generated Classes After Schema Update?

I use the org.jooq.util.DefaultGenerator during the build process to generate jOOQ classes to repre… Read more Runtime Validation Of Jooq Generated Classes After Schema Update?

Overriding Jooq's Exception Handling For Updatablerecords

I'm using jOOQ v2.6 as I'm using SQL Server 2008 R2 and there is a bug in jOOQ v3.1 which c… Read more Overriding Jooq's Exception Handling For Updatablerecords

How To Resolve Ambiguous Match When Chaining Generated Jooq Classes

I have defined my models in JPA and am writing some queries for my application and I am using JOOQ … Read more How To Resolve Ambiguous Match When Chaining Generated Jooq Classes

How To Convert Sql Orderby Clause With Case Statement Into Jooq?

I want to convert Sql orderby clause with Case using JOOQ.and BillAmount is of BigDecimal datatype.… Read more How To Convert Sql Orderby Clause With Case Statement Into Jooq?

Backup In Memory Sqlite Db To Byte Array Using Jooq Context

private byte[] inMemSqliteDbBackup() { byte[] data = null; try (DSLContext dsl = DSL.using(… Read more Backup In Memory Sqlite Db To Byte Array Using Jooq Context

Sqlite 64bit Integers Recognized As Ints In Jooq

I have an SQLite database that I am using with jOOQ. When I use jOOQ's code generation tool, it… Read more Sqlite 64bit Integers Recognized As Ints In Jooq

How To Safely Execute Custom Statements Within Jooq's `executelistener`?

I have a custom ExecuteListener that executes additional statements before the statement JOOQ is cu… Read more How To Safely Execute Custom Statements Within Jooq's `executelistener`?

How To Use 'like' Function To Select Array Of Strings With Jooq

I now want to use 'like' function with JOOQ to select data including array of string data b… Read more How To Use 'like' Function To Select Array Of Strings With Jooq

Using Raw Value-expressions In Update With Jooq

This is the query I am trying to execute: UPDATE TABLE users SET metadata = metadata - 'keyA… Read more Using Raw Value-expressions In Update With Jooq

Get Table/column Metadata From Jooq Parser Result

Using the JOOQ parser API, I'm able to parse the following query and get the parameters map fro… Read more Get Table/column Metadata From Jooq Parser Result

Insert .. Select With Some Default Values In Mysql With Jooq

Lets say I have a table Person(id, fname, lname) and it contains a record (1, 'Michael', &#… Read more Insert .. Select With Some Default Values In Mysql With Jooq

How To Write Count Query In Jooq

I am converting Pure SQL to jOOQ now I have this ('SELECT Count(*) Count From Table '); I… Read more How To Write Count Query In Jooq

Jooq Cast String To Enum With Converter

While looking for a way to cast my String field into an Enum i stubled across the .cast() Method. … Read more Jooq Cast String To Enum With Converter

How To Convert List Into Updatablerecord?

I have issue related batchDelete in jooq. I have a list folderProcessChecklistRecordListin my code … Read more How To Convert List Into Updatablerecord?

How Can We Profile Jooq Statements For Speed

I already have implemented JOOQ with Union Platform as a java based game server and using Union Pla… Read more How Can We Profile Jooq Statements For Speed

Use Jooq To Do A Delete Specifying Multiple Columns In A "not In" Clause

I want to bring a postgres database table in sync with a list of Jooq Records. I have a table with … Read more Use Jooq To Do A Delete Specifying Multiple Columns In A "not In" Clause

The Difference In Ordering Of Enum Type Literals Between Postgresql 9.0 And 9.1

There has been some curious update in the way enum types work between PostgreSQL 9.0 and 9.1. The p… Read more The Difference In Ordering Of Enum Type Literals Between Postgresql 9.0 And 9.1

Jooq Oracle Number Precision And Java Number Mapping

Can anyone tell me or provide a ref to the mapping between oracle number precisions and java types … Read more Jooq Oracle Number Precision And Java Number Mapping

JOOQ: Logically Group Columns From Different Tables In Common Interface

We have a table design where a lot of tables share some columns, e.g. in one case some of our table… Read more JOOQ: Logically Group Columns From Different Tables In Common Interface