Blog: jooq (Lukas Eder)


210 blogs updated: 729 min. ago
Having "constant" columns in foreign keys
I was asked a very interesting question on Twitter just now: @lukaseder quick q: in pg can I have a composite foreign key where one value is...
3
10-09-2020 10:26:11 jooq (Lukas Eder) Advanced
Use NATURAL FULL JOIN to compare two tables in SQL
There are a few ways to compare two similar tables in SQL. Assuming PostgreSQL syntax, we might have this schema: It is now possible to use ...
16
05-08-2020 14:51:28 jooq (Lukas Eder) Advanced
Could we Have a Language That Hides Collections From Us?
I just fixed a bug. The fix required me to initialise an Object[] array with the init values for each type, instead of just null, i.e. false...
13
22-07-2020 11:07:18 jooq (Lukas Eder) Advanced
Using SQL Server FOR XML and FOR JSON Syntax on Other RDBMS With jOOQ
SQL Server supports transforming flat tabular SQL result sets into hierarchical structures by convention using the convenient FOR XML or FOR...
12
05-05-2020 18:55:07 jooq (Lukas Eder) Advanced
The Many Flavours of the Arcane SQL MERGE Statement
The SQL MERGE statement is a device whose mystery is only exceeded by its power. A simple example shows its full power according to standard...
15
10-04-2020 11:40:54 jooq (Lukas Eder) Advanced
What's a "String" in the jOOQ API?
One of jOOQ's biggest strength is the fact that it is a type safe SQL API. "Type safe", in this context, means that every object that you pu...
8
03-04-2020 11:38:52 jooq (Lukas Eder) Advanced
Create Empty Optional SQL Clauses with jOOQ
When using jOOQ to create dynamic SQL statements (one of jOOQ's core value propositions), it is often necessary to add query elements condit...
9
06-03-2020 13:03:02 jooq (Lukas Eder) Advanced
Using Java 13+ Text Blocks for Plain SQL with jOOQ
Most jOOQ users use the jOOQ DSL API, which provides compile time type safety and an easy way to write dynamic SQL. But occasionally, this D...
16
05-03-2020 14:56:13 jooq (Lukas Eder) Advanced
Never Concatenate Strings With jOOQ
jOOQ supports a vast amount of SQL syntax out of the box. As such, most users will not think of resorting to string concatenation like in th...
10
04-03-2020 17:23:47 jooq (Lukas Eder) Advanced
Better Understand SQL by Adding Optional Parentheses
It appears that our recent beginner SQL articles explaining SQL syntax were quite popular. These include: A Beginner's Guide to the True Ord...
14
03-03-2020 16:03:42 jooq (Lukas Eder) Advanced


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.