Re:Java Feature Spotlight: Text Blocks
by stickfigure on Friday May 01, 2020 @08:11PM
(#23047800)
I find these tools only work well for simple queries. For anything complicated, you spend N units of time figuring out how to make the query, then 4N units of time figuring out how to represent it in the metalanguage (often hacking around it with custom functions and operators).
They are especially bad with exotic operators like postgres' JSONB columns. I ended up ripping jooq out of an app over this.
There's an argument that they bring type safety to SQL, but Intellij actually validates your string literal SQL against the schema, so the benefit is marginal.
They are especially bad with exotic operators like postgres' JSONB columns. I ended up ripping jooq out of an app over this.
There's an argument that they bring type safety to SQL, but Intellij actually validates your string literal SQL against the schema, so the benefit is marginal.