For SQL beginners, there’s a bit of an esoteric syntax named PARTITION BY, which appears all over the place in SQL. It always has a similar meaning, though in quite different contexts. The ...
A lot of RDBMS support standard SQL sequences of some form. The standard SQL syntax to create a sequence is:
The following is how you could fetch a value from this sequence, using jOOQ, ...
Since jOOQ 3.4, we have an API that simplifies transactional logic on top of JDBC in jOOQ, and starting from jOOQ 3.17 and #13502, an equivalent API will also be made available on top of ...
Every now and then I run across a use case for the arcane NATURAL JOIN SQL operator, and I’m even more delighted when I can make that a NATURAL FULL JOIN. A few past blog posts on the subject ...
A really cool, recent question on Stack Overflow was about how to map a nested collection into a Java Map with jOOQ. In the past, I’ve blogged about the powerful MULTISET operator many times, ...
An interesting hint by Vladimir Sitnikov has made me think about a new benchmark for jOOQ:
Interesting thought. Do you have a benchmark ready for this, perhaps?— Lukas Eder (@lukaseder) ...
The jOOQ API is all about convenience, and as such, an important operation (the most important one?) like fetch() must come with convenience, too. The default way to fetch data is this:
...
Every now and then, I see folks lament the SQL syntax’s peculiar disconnect between
Most recently here in a Youtube comment reply to a recent jOOQ/kotlin talk. Let’s look at why jOOQ ...
It’s been a while since jOOQ 3.15 has been released with its revolutionary standard SQL MULTISET emulation feature. A thing that has been long overdue and which I promised on twitter a few ...
I stumbled upon a very interesting question on Stack Overflow about how to use jOOQ’s MULTISET operator to nest a collection, and then filter the result by whether that nested collection ...