Commit Graph

9313 Commits

Author SHA1 Message Date
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
Lukas Eder
3a4254518e [jOOQ/jOOQ#10927] Add code generator support for SQLite CHECK constraints 2020-11-12 14:01:46 +01:00
Lukas Eder
495db82308 [jOOQ/jOOQ#10529] Ignore <records>false</records> for UDTRecords 2020-11-12 11:58:20 +01:00
Lukas Eder
cf9c2db02c [jOOQ/jOOQ#10922] Fix support annotation for PostgreSQL 2020-11-12 10:40:42 +01:00
Lukas Eder
3ffe6de499 [jOOQ/jOOQ#10923] KotlinGenerator produces compilation errors in UDT
Records when <recordsImplementingRecordN/> is true
2020-11-12 10:38:36 +01:00
Lukas Eder
9753e8fc41 [jOOQ/jOOQ#10920] PostgreSQL supports XMLTABLE only after version 10 2020-11-11 17:08:29 +01:00
Lukas Eder
44801b2c90 [jOOQ/jOOQ#10918] XMLasDOMBinding and AbstractXMLasObjectBinding should implement Binding<XML, T>, not Binding<String, T> 2020-11-11 16:20:32 +01:00
Lukas Eder
efc6faf0e3 [jOOQ/jOOQ#10877] Compilation error in ScalaGenerator generated code
when table has column "CLASS"
2020-11-11 15:29:45 +01:00
Lukas Eder
676b4ef9c5 [jOOQ/jOOQ#10915] Wrong code generated by KotlinGenerator for
<validationAnnotations/>
2020-11-11 15:12:24 +01:00
Lukas Eder
0e456c703f [jOOQ/jOOQ#10904] KotlinGenerator produces compilation error in generated interfaces when <jpaAnnotations/> is set 2020-11-11 14:26:33 +01:00
Lukas Eder
9afae0df97 [jOOQ/jOOQ#10913] Add Database.getPrimaryKeys() and overloads to
jOOQ-meta
2020-11-11 13:25:49 +01:00
Lukas Eder
c29e75cf0b [jOOQ/jOOQ#10910] java.lang.ClassCastException: class java.lang.Class cannot be cast to class java.lang.reflect.ParameterizedType in Kotlin 2020-11-11 11:45:31 +01:00
Lukas Eder
0114c2a300 [jOOQ/jOOQ#10783] KotlinGenerator does not annotate properties with
<jpaAnnotations/>
2020-11-10 17:26:02 +01:00
Lukas Eder
cfa9c47c4f [jOOQ/jOOQ#10898] Add optional schema qualification 2020-11-09 17:33:56 +01:00
Lukas Eder
c6a0d2a556 [jOOQ/jOOQ#10899] Add <includeSystemSequences/> to code generator
configuration
2020-11-09 17:23:14 +01:00