Commit Graph

8457 Commits

Author SHA1 Message Date
Lukas Eder
9b199477d4 [jOOQ/jOOQ#10024] Upgraded liquibase and hibernate dependencies 2020-04-01 14:29:32 +02:00
Lukas Eder
aaa9f2c563 [jOOQ/jOOQ#10024] Upgraded spring dependency from 5.1.9 to 5.2.5 2020-04-01 14:24:59 +02:00
Lukas Eder
4289ac8590 [jOOQ/jOOQ#7328] Replace cursor-based FOR UPDATE emulation in SQL Server by table hints 2020-04-01 13:53:23 +02:00
Lukas Eder
ffc92f2f76 [jOOQ/jOOQ#9986] Some minor QueryPartList improvements 2020-04-01 13:17:53 +02:00
Lukas Eder
db13cee6d3 [jOOQ/jOOQ#10023] Add Table.with(SQL) to allow for plain SQL templating in T-SQL style table hints 2020-04-01 12:59:18 +02:00
Lukas Eder
c790c84d99 [jOOQ/jOOQ#9930] Fixed ListAgg for SQL Server 2020-03-31 15:39:46 +02:00
Lukas Eder
aa20f07f4e [jOOQ/jOOQ#10016] Improve H2's derived column list support 2020-03-31 14:50:05 +02:00
Lukas Eder
9b92617584 [jOOQ/jOOQ#9496] Improve formatting of CREATE TABLE 2020-03-31 13:19:44 +02:00
Lukas Eder
c2df94da47 [jOOQ/jOOQ#10013] Add <constructorPropertiesAnnotation/> to generate @ConstructorProperties on pojos and records 2020-03-31 11:27:08 +02:00
Lukas Eder
06d4f1fe50 Revert "[jOOQ/jOOQ#10011] Add SQLDialect.lite() to denote a jOOQ-lite dialect" 2020-03-31 10:23:00 +02:00
Lukas Eder
5302f33dd4 [jOOQ/jOOQ#10011] Add SQLDialect.lite() to denote a jOOQ-lite dialect 2020-03-30 15:58:23 +02:00
Lukas Eder
aa885722c3 [jOOQ/jOOQ#10008] Add a configuration flag to DDLDatabase to specify whether queries should be logged 2020-03-30 14:53:03 +02:00
Lukas Eder
5380ed5ec1 [jOOQ/jOOQ#10007] "constant string too long" in generated code when view
source code exceeds 64KB
2020-03-30 14:37:11 +02:00
Lukas Eder
cbd3239233 [jOOQ/jOOQ#9998] DSL.and(noCondition()) and DSL.or(noCondition()) generates a "1 = 1" or "1 = 0" predicate 2020-03-27 17:31:45 +01:00
Lukas Eder
6bfef10081 [jOOQ/jOOQ#10000] Add DSL.tau() to support τ, which is a better π 2020-03-27 17:00:46 +01:00
Lukas Eder
5108d7c192 [jOOQ/jOOQ#9999] Work around CockroachDB's wrong implementation of <row> IS NULL predicate 2020-03-27 16:19:54 +01:00
Lukas Eder
37927e01e0 [jOOQ/jOOQ#8950] Fixed OSS Edition JSON_EXISTS() support 2020-03-27 15:08:42 +01:00
Lukas Eder
f1003a76f4 [jOOQ/jOOQ#8950] Added JSON_EXISTS() support 2020-03-27 13:43:50 +01:00
Lukas Eder
4649185506 [jOOQ/jOOQ#8950] Added JSON_EXISTS() support 2020-03-27 13:26:53 +01:00
Lukas Eder
39a5f48cd6 [jOOQ/jOOQ#9995] Add SQLDialect.POSTGRES_12 2020-03-27 13:22:15 +01:00
Lukas Eder
1d55b8c409 [jOOQ/jOOQ#9995] Add SQLDialect.POSTGRES_12 2020-03-27 13:19:56 +01:00
Lukas Eder
cff26a8f50 [jOOQ/jOOQ#9995] Add SQLDialect.POSTGRES_12 2020-03-27 12:42:05 +01:00
Lukas Eder
cbbb48f9c3 [jOOQ/jOOQ#8950] Added support for Db2 2020-03-27 10:40:16 +01:00
Lukas Eder
2931f830a1 [jOOQ/jOOQ#9991] Offer an org.jooq.impl.AbstractBinding base implementation for the common case 2020-03-26 17:49:38 +01:00
Lukas Eder
c8646e4f70 [jOOQ/jOOQ#6598] fixed regression 2020-03-26 16:50:06 +01:00
Lukas Eder
b3d89c846b [jOOQ/jOOQ#9994] Add missing with(Collection<? extends CommonTableExpression<?>>) overloads 2020-03-26 16:24:57 +01:00
Lukas Eder
8fba879f62 [jOOQ/jOOQ#6598] Fixed also @ConstructorProperties mapping 2020-03-26 15:42:51 +01:00
Lukas Eder
622b07b1e0 [jOOQ/jOOQ#6598] Maintain old logic for backwards compatibility 2020-03-26 14:09:56 +01:00
Lukas Eder
9112a4ff20 [jOOQ/jOOQ#6598] Implementation for nested immutable POJOs 2020-03-26 11:19:36 +01:00
Lukas Eder
4d119f3442 [jOOQ/jOOQ#9925] Workaround only for Oracle 2020-03-25 21:28:00 +01:00
Lukas Eder
885c7d1f90 [jOOQ/jOOQ#9990] Add some convenience API to SQLDialect, delegating to JDBCUtils 2020-03-25 15:16:23 +01:00
Lukas Eder
2dac69b806 [jOOQ/jOOQ#9925] Added Oracle support 2020-03-25 14:20:49 +01:00
Lukas Eder
9ec5cc07bf [jOOQ/jOOQ#8950] Add support for JSON_VALUE() 2020-03-25 10:59:43 +01:00
Lukas Eder
5286a415d7 [jOOQ/jOOQ#9764] Removed excess whitespace from UPDATE statement 2020-03-24 16:28:10 +01:00
Lukas Eder
c4c31b6de9 [jOOQ/jOOQ#9985] Remove Tools.renderUnqualifiedName()
The new QueryPartListView and related types make this utility obsolete.
2020-03-24 16:00:19 +01:00
Lukas Eder
c6aae375d7 [jOOQ/jOOQ#9985] Improve formatting of MergeImpl::toSQLH2Merge 2020-03-24 12:41:12 +01:00
Lukas Eder
eb1e7dc6f3 [jOOQ/jOOQ#9985] Refactor AbstractRow::accept 2020-03-24 12:21:37 +01:00
Lukas Eder
c678df4402 [jOOQ/jOOQ#9985] Refactor Alias::toSQLDerivedColumnList 2020-03-24 12:18:44 +01:00
Lukas Eder
8e22487f23 [jOOQ/jOOQ#9985] Refactor GrantImpl and RevokeImpl's privileges rendering 2020-03-24 12:08:10 +01:00
Lukas Eder
006615ab2b [jOOQ/jOOQ#9985] Refactor InsertQueryImpl::toSQLInsert's DEFAULT VALUES emulation 2020-03-24 11:52:28 +01:00
Lukas Eder
8aa94df0e7 [jOOQ/jOOQ#9986] Add an internal QueryPartListView class 2020-03-24 11:31:36 +01:00
Lukas Eder
7e8b31c389 [jOOQ/jOOQ#9985] Refactored Tools.fieldNames and Tools.tableNames 2020-03-24 11:21:29 +01:00
Lukas Eder
e8ee1bf94d [jOOQ/jOOQ#9764] Rework formatting of SQL
One big formatting problem is in QueryPartList. 1) it adds unnecessary
whitespace at the end of lines, because it hardcodes a ", " separator.
That is easy to fix. Also, it needs to decide whether at the beginning
of a list, an extra separator is required. That's something that a
container QueryPart needs to decide for the QueryPartList, whereas the
QueryPartList gets to decide if that separator is a newline or
whitespace.

A few other formatting issues are fixed with this one, including:

- [jOOQ/jOOQ#1962] Formatting of SQL rendered by window functions
- [jOOQ/jOOQ#3479] Awkward formatting of "short" functions
- [jOOQ/jOOQ#5488] Excess newline in formatted SELECT w/out FROM clause
- [jOOQ/jOOQ#9764] This issue
2020-03-24 11:00:38 +01:00
Lukas Eder
787878ed80 [jOOQ/jOOQ#9985] FieldMapsForInsert::toSQLReferenceKeys should use QueryPartList 2020-03-24 10:59:32 +01:00
Lukas Eder
58c0072866 [jOOQ/jOOQ#9925] Add support for XMLTABLE() 2020-03-23 15:23:09 +01:00
Lukas Eder
b62f3c2f3e [jOOQ/jOOQ#9925] Add support for XMLQUERY() 2020-03-23 11:52:43 +01:00
Lukas Eder
138405a049 Whitespace change 2020-03-23 11:50:52 +01:00
Lukas Eder
35f253b269 [jOOQ/jOOQ#9925] Add support for XMLQUERY() 2020-03-20 15:56:20 +01:00
Lukas Eder
d71359ff89 [jOOQ/jOOQ#9925] Add support for XMLDOCUMENT() 2020-03-20 15:11:40 +01:00
Lukas Eder
1079b1eeb1 [jOOQ/jOOQ#9980] Wrong Javadoc link in DSL.value() methods 2020-03-20 14:56:35 +01:00