Commit Graph

9339 Commits

Author SHA1 Message Date
Lukas Eder
19c276b118 [jOOQ/jOOQ#11021] Fix MariaDB 2020-11-26 19:38:33 +01:00
Lukas Eder
39070ae027 [jOOQ/jOOQ#11021] Fix informix 2020-11-26 17:47:29 +01:00
Lukas Eder
0c97a608ee [jOOQ/jOOQ#11032] Compilation errors for <implicitJoinPathsToOne/> when
referenced table is called RECORD_TYPE
2020-11-26 17:35:22 +01:00
Lukas Eder
41400d0f09 [jOOQ/jOOQ#8775] Additional Javadoc 2020-11-26 15:49:19 +01:00
Lukas Eder
cbd9e9ef01 [jOOQ/jOOQ#11031] Extract common API from Cursor | Record | RecordType |
Result | Row | TableLike | UDT to new Fields type
2020-11-26 15:31:06 +01:00
Lukas Eder
056ca3a427 [jOOQ/jOOQ#11021] Avoid synthetic ORDER BY clause in window functions if not strictly necessary 2020-11-26 11:53:15 +01:00
Lukas Eder
d1dc268091 [jOOQ/jOOQ#11022] The NAME keyword in XMLELEMENT(NAME <name>) should be
optional for the parser
2020-11-26 09:41:07 +01:00
Lukas Eder
3cc97d16a9 [jOOQ/jOOQ#11025] Fix this also for MariaDB 2020-11-25 21:21:15 +01:00
Lukas Eder
5a795588cd [jOOQ/jOOQ#11025] Fix this also for MySQL 2020-11-25 11:08:34 +01:00
Lukas Eder
7a4cb3d0ea [jOOQ/jOOQ#11025] Fix this also for Db2 2020-11-25 10:40:50 +01:00
Lukas Eder
26a5427188 [jOOQ/jOOQ#11025] Wrong variable binding for boolean values in Oracle JSON_OBJECT(), JSON_ARRAY() and others 2020-11-25 10:10:28 +01:00
Lukas Eder
1cac6fb4a6 [jOOQ/jOOQ#11023] Throw more explicit DataTypeException when Convert fails to convert between JSON/JSONB/XML and a user-defined type 2020-11-24 22:36:39 +01:00
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