Commit Graph

9327 Commits

Author SHA1 Message Date
Lukas Eder
159eb759e7 [jOOQ/jOOQ#11017] KotlinGenerator should generate equals(other: Any?),
not equals(obj: Any?) on pojos
2020-11-24 10:13:25 +01:00
Lukas Eder
64445647f7 [jOOQ/jOOQ#11016] Kotlin POJO generator produces wrong equals/hashCode for binary types 2020-11-24 09:59:28 +01:00
Lukas Eder
9704a1c12c [jOOQ/jOOQ#11009] Refactor some Tools methods. Java 6 fix. 2020-11-23 15:45:18 +01:00
Lukas Eder
fea20a899a [jOOQ/jOOQ#11009] Retrofit sortAsc() and similar functions to use this for MySQL 2020-11-23 13:43:01 +01:00
Lukas Eder
00e6517dc6 [jOOQ/jOOQ#11009] Add support for the MySQL FIELD() function 2020-11-23 13:13:37 +01:00
Lukas Eder
db45db76cd [jOOQ/jOOQ#11009] Add support for the MySQL FIELD() function 2020-11-23 11:31:54 +01:00
Lukas Eder
4b462d3a21 [jOOQ/jOOQ#10940] Root cause fixed, revert workaround 2020-11-20 17:51:52 +01:00
Lukas Eder
7ae2bb1b8e [jOOQ/jOOQ#10992] Wrong SQL generated when outer and correlated subquery share implicit join path 2020-11-20 17:39:23 +01:00
Lukas Eder
e4aa7c1eed [jOOQ/jOOQ#10801] Add JavaGenerator.printDaoConstructorAnnotations() to allow for custom annotations in generated DAO constructors 2020-11-20 15:43:45 +01:00
Lukas Eder
aa33496cde [jOOQ/jOOQ#10989] Cannot use MERGE with SELECT: [42XAL]: The source
table of a MERGE statement must be a base table or table function.
2020-11-20 13:50:26 +01:00
Lukas Eder
c4d3644872 [jOOQ/jOOQ#10998] Add <enumsAsScalaSealedTraits/> to let ScalaGenerator
generate Java enums or Dotty enums
2020-11-20 13:50:06 +01:00
Lukas Eder
5be1a2e475 [jOOQ/jOOQ#11000] Parser cannot look up column from tables by same name from different schemas 2020-11-20 13:49:30 +01:00
Lukas Eder
58cb01e26f [jOOQ/jOOQ#10983] Wrong Oracle style to ANSI JOIN transformation result, depending on predicate order 2020-11-19 20:45:41 +01:00
Lukas Eder
58b82b3541 [jOOQ/jOOQ#10990] Fixed annotations 2020-11-19 16:30:02 +01:00
Lukas Eder
3401597eae [jOOQ/jOOQ#10940] <includeSystemCheckConstraints/> fails with missing FROM-clause entry for table "alias_18649163" on PostgreSQL 2020-11-19 16:05:03 +01:00
Lukas Eder
8de5f09165 [jOOQ/jOOQ#10990] Add support for MERGE in Informix 2020-11-19 15:35:39 +01:00
Lukas Eder
a5e96e9b53 [jOOQ/jOOQ#10989] Wrong SQL generated for INSERT .. SELECT .. ON DUPLICATE KEY IGNORE emulation using NOT EXISTS 2020-11-19 15:03:34 +01:00
Lukas Eder
c3dfa9be70 [jOOQ/jOOQ#10979] XMLDatabase does not produce parameters for overloaded routines 2020-11-19 11:50:26 +01:00
Lukas Eder
20a60f6f38 [jOOQ/jOOQ#10972] Downgrade ErrorProne again 2020-11-19 11:09:12 +01:00
Lukas Eder
56dda2b08d [jOOQ/jOOQ#8278] Prevent StackOverflowErrors when the proxy is shared 2020-11-18 17:32:45 +01:00
Lukas Eder
8076b700f3 [jOOQ/jOOQ#10972] Upgraded error prone and other dependencies 2020-11-18 16:54:52 +01:00
Lukas Eder
f5d0733b1b [jOOQ/jOOQ#10974] Support ARRAY_AGG in H2 2020-11-18 16:29:55 +01:00
Lukas Eder
e217e63a2a [jOOQ/jOOQ#10699] Parser cannot parse set operations combining SELECT * with SELECT <column list> 2020-11-18 16:01:31 +01:00
Lukas Eder
5ec25d7664 [jOOQ/jOOQ#10970] Unknown field identifier when parsing ORDER BY clauses
referencing field aliases with parseWithMetaLookups
2020-11-18 15:29:12 +01:00
Lukas Eder
f70ef59fe8 [jOOQ/jOOQ#10968] Ambiguous field identifier when parsing unions with unqualified columns and parseWithMetaLookups 2020-11-18 15:07:36 +01:00
Lukas Eder
04bf96f734 [jOOQ/jOOQ#9715] Render DSL.currentDate() as TRUNC(CURRENT_DATE) in
Oracle
2020-11-18 13:47:29 +01:00
Lukas Eder
3ff08643ce [jOOQ/jOOQ#10668] Parser should ignore TRUNC() call when parsing TRUNC(CURRENT_DATE) or TRUNC(SYSDATE) 2020-11-18 12:59:15 +01:00
Lukas Eder
bd830f305e [jOOQ/jOOQ#10964] Parser should support plural form of DatePart where applicable 2020-11-18 12:07:54 +01:00
Lukas Eder
d1cd2947c3 [jOOQ/jOOQ#10963] Parse DEFAULT nextval('<id>_seq'::regclass) as Serial data type 2020-11-18 10:33:36 +01:00
Lukas Eder
a58fe6fc80 [jOOQ/jOOQ#10951] JPAConverter may cause DataTypeException if it does
not detect the proper <T, U> types using reflection
2020-11-17 15:57:31 +01:00
Lukas Eder
9a3c78df59 [jOOQ/jOOQ#10953] Add additional JSONFormat options to optimise formatting of JSON in the presence of SQL/JSON result set content 2020-11-17 15:01:03 +01:00
Lukas Eder
0b221c68f8 [jOOQ/jOOQ#10697] Improve style of generated ANSI JOIN
By avoiding nesting joins unnecessarily, we can maintain more intuitive:

- Lexical table ordering when creating trees
- Flat join syntax rather than nesting too deeply
2020-11-17 14:29:11 +01:00
Lukas Eder
3c08580226 [jOOQ/jOOQ#10954] Unqualified field lookup in ON DUPLICATE KEY UPDATE
clause doesn't work
2020-11-17 12:53:06 +01:00
Lukas Eder
22b10723a6 [jOOQ/jOOQ#8640] Don't throw exceptions if ON DUPLICATE KEY UPDATE isn't
supported
2020-11-17 12:39:03 +01:00
Lukas Eder
fb05c57f9b [jOOQ/jOOQ#10956] Add missing documentation about throwing of DataDefinitionException in relevant API 2020-11-17 12:38:32 +01:00
Lukas Eder
fa46f576db [jOOQ/jOOQ#10937] MariaDB applies NOT NULL DEFAULT CURRENT_TIMESTAMP on TIMESTAMP columns in the absence of explicit nullability 2020-11-17 11:00:18 +01:00
Lukas Eder
986c8555f8 [jOOQ/jOOQ#10697] Java 6 fix 2020-11-16 18:28:22 +01:00
Lukas Eder
6276dfae61 [jOOQ/jOOQ#10949] Missing data type display in ParserCLI help listing 2020-11-16 13:58:52 +01:00
Lukas Eder
05e06f41b1 [jOOQ/jOOQ#10697] T.COL(+) = 1 doesn't work yet 2020-11-16 13:41:52 +01:00
Lukas Eder
ff3a890917 [jOOQ/jOOQ#10697] T1.I = T2.I(+) AND T1.I = 1 works, but T1.I = 1 AND
T1.I = T2.I(+) does not
2020-11-16 13:02:06 +01:00
Lukas Eder
853e90077c [jOOQ/jOOQ#10900] Compilation error in KotlinGenerator generated code,
when OTHER data type columns have a default value
2020-11-16 10:06:50 +01:00
Lukas Eder
9a94ce3bc6 [jOOQ/jOOQ#7373] [jOOQ/jOOQ#10944] Code generator warning message should refer to deprecated <customType/> only if customType configuration is present 2020-11-16 09:34:45 +01:00
Lukas Eder
0f6f05e2bf [jOOQ/jOOQ#10939] Wrong SQL generated for IIF() emulation in MySQL 2020-11-13 14:31:54 +01:00
Lukas Eder
7ad4c81d76 [jOOQ/jOOQ#10937] Add Settings.renderDefaultNullability 2020-11-13 14:30:53 +01:00
Lukas Eder
53904a378d [jOOQ/jOOQ#10937] Add Settings.renderDefaultNullability 2020-11-13 13:45:21 +01:00
Lukas Eder
c06bbc4008 [jOOQ/jOOQ#10936] Add DataType.null_() and notNull() as synonyms for nullable(boolean) 2020-11-13 12:29:27 +01:00
Lukas Eder
574370f1ee [jOOQ/jOOQ#10931] LIMIT without OFFSET is emulated using window functions when value is not a bind variable 2020-11-13 09:52:59 +01:00
Lukas Eder
67e0d284f9 [jOOQ/jOOQ#10932] Support MySQL 8.0.16 CHECK constraints 2020-11-13 09:14:35 +01:00
Lukas Eder
321c2a927f [jOOQ/jOOQ#10808] Converter using primitive types fails when used in UDT
array in PostgreSQL
2020-11-12 21:05:23 +01:00
Lukas Eder
b5f80d0b0f [jOOQ/jOOQ#10851] Add <visibilityModifier/> to allow for generating explicit / implicit public visibility, as well as internal in KotlinGenerator 2020-11-12 16:39:59 +01:00