Commit Graph

9690 Commits

Author SHA1 Message Date
Lukas Eder
4fa4e13807 [jOOQ/jOOQ#11269] Add CreateTableConstraintStep.primaryKey(), unique(), check() convenience methods 2021-02-16 16:24:48 +01:00
Lukas Eder
c5d026ce2c [jOOQ/jOOQ#11446] Bad formatting for UPDATE .. ROW = ROW statements 2021-02-16 14:56:12 +01:00
Lukas Eder
3dd2f77451 [jOOQ/jOOQ#11443] BatchedPreparedStatement doesn't work if statement is
re-used
2021-02-16 13:37:02 +01:00
Lukas Eder
55ff5a4272 [jOOQ/jOOQ#11442] Plain SQL templates improperly recognise ? 2021-02-16 10:49:47 +01:00
Lukas Eder
9de285a56e [jOOQ/jOOQ#10551] Added CTE support 2021-02-16 10:24:05 +01:00
Lukas Eder
bf1c3f92bd [jOOQ/jOOQ#11432] Support parsing Db2 style LISTAGG() without WITHIN
GROUP clause
2021-02-15 13:54:00 +01:00
Lukas Eder
ac3bf49009 [jOOQ/jOOQ#11436] Support parsing UPDATE .. SET (row) = (subquery) 2021-02-15 13:36:36 +01:00
Lukas Eder
3f706e1951 [jOOQ/jOOQ#11429] Fixed Firebird regression 2021-02-12 21:38:41 +01:00
Lukas Eder
46ae08cac1 [jOOQ/jOOQ#11435] Support parsing quoted identifiers with escaped quotes 2021-02-12 21:34:45 +01:00
Lukas Eder
100030f00f [jOOQ/jOOQ#11433] Add parser support for ALTER TABLE .. ADD .. ADD syntax 2021-02-12 20:43:47 +01:00
Lukas Eder
82b2a12f9c [jOOQ/jOOQ#11430] Add parser support for ALTER TABLE .. DROP .. DROP syntax 2021-02-12 16:50:43 +01:00
Lukas Eder
cf80bc723c [jOOQ/jOOQ#10572] Wrong DSL::countDistinct method used by parser
Parser is parsing countDistinct(Field[]) regardless of the number of argument fields, rather than countDistinct(Field). This may lead to some tests being skipped for dialects that do not support countDistinct(Field[])
2021-02-12 16:33:06 +01:00
Lukas Eder
5ece382977 [jOOQ/jOOQ#11429] Add missing parser support for EXECUTE IMMEDIATE 2021-02-12 16:28:04 +01:00
Lukas Eder
65324a4ac5 [jOOQ/jOOQ#11427] Parser doesn't accept INSERT .. SELECT .. ON CONFLICT 2021-02-12 15:56:45 +01:00
Lukas Eder
5342436dce [jOOQ/jOOQ#9190] Support parsing PG procedures / functions 2021-02-12 15:38:18 +01:00
Lukas Eder
5de7cfd6ee [jOOQ/jOOQ#10528] Get Firebird procedural logic up to date 2021-02-12 15:12:15 +01:00
Lukas Eder
0383f3db5b [jOOQ/jOOQ#10528] Get Firebird procedural logic up to date 2021-02-12 14:57:00 +01:00
Lukas Eder
3a2c761bad [jOOQ/jOOQ#10528] Get SQL Server procedural logic up to date 2021-02-12 14:44:01 +01:00
Lukas Eder
9ca2a49641 [jOOQ/jOOQ#11422] Add parser support for JSON_ARRAYAGG() and
JSON_OBJECTAGG() as window functions
2021-02-12 13:31:43 +01:00
Lukas Eder
d17687ee33 [jOOQ/jOOQ#11421] Parser should throw exception if not all rows have the same degree in a VALUES constructor 2021-02-12 12:00:36 +01:00
Lukas Eder
61e3ea2d97 [jOOQ/jOOQ#11420] Support Parsing the MySQL version of the VALUES constructor 2021-02-12 11:53:10 +01:00
Lukas Eder
d8d6e6fc7e [jOOQ/jOOQ#10528] MariaDB and MySQL fixes 2021-02-11 17:20:45 +01:00
Lukas Eder
b1939a1456 [jOOQ/jOOQ#10528] More informix fixes 2021-02-11 17:16:50 +01:00
Lukas Eder
25325f4d8d [jOOQ/jOOQ#10528] More informix fixes 2021-02-11 16:49:18 +01:00
Lukas Eder
babc7908a7 [jOOQ/jOOQ#8166] OSS edition fix 2021-02-11 16:27:14 +01:00
Lukas Eder
0f41c52b14 [jOOQ/jOOQ#11410] Support HSQLDB's procedural destructuring assignment 2021-02-11 16:24:55 +01:00
Lukas Eder
8a24389f89 [jOOQ/jOOQ#11408] Procedural DECLARE should support declaring multiple variables, for convenience 2021-02-11 14:36:38 +01:00
Lukas Eder
a83752f970 [jOOQ/jOOQ#8166] Add support for SELECT .. INTO <variables> for use
inside statement blocks

This includes:

- [jOOQ/jOOQ#11405] Emulation in SQL Server
- [jOOQ/jOOQ#11406] Field.as(unquotedName(@i)) should produce T-SQL
aliasing syntax
2021-02-11 11:46:18 +01:00
Lukas Eder
02f750b651 [jOOQ/jOOQ#11403] Support parsing Teradata's undocumented SELECT .. GROUP BY .. WHERE clause ordering 2021-02-10 18:36:30 +01:00
Lukas Eder
4aa23f9aa1 [jOOQ/jOOQ#11398] Wrong emulation of JSON_OBJECTAGG in Db2 and other dialects for String values 2021-02-10 15:20:17 +01:00
Lukas Eder
8da28a94c3 [jOOQ/jOOQ#11318] Add native support for the standard JSON function
RETURNING clause

Added API and parser support for RETURNING on:

- JSON_ARRAY
- JSON_ARRAYAGG
- JSON_OBJECT
- JSON_OBJECTAGG
- JSON_VALUE
2021-02-10 14:08:23 +01:00
Lukas Eder
753242b86c [jOOQ/jOOQ#11394] Support parsing Teradata's zeroifnull() 2021-02-09 15:05:58 +01:00
Lukas Eder
8ed33197de [jOOQ/jOOQ#11374] Fixed regression leading to StackOverflowError 2021-02-09 14:43:35 +01:00
Lukas Eder
ee05f720d0 [jOOQ/jOOQ#11393] Add CockroachDB ENUM type support
- DDL support added
- Fixed code generation support
- Re-generated code
2021-02-09 14:25:22 +01:00
Lukas Eder
73eff4ca00 [jOOQ/jOOQ#8284] Emulate label-less iterate and leave in DB2, HSQLDB, MariaDB, MySQL 2021-02-09 10:59:34 +01:00
Lukas Eder
2894896386 [jOOQ/jOOQ#11389] Add parser support for PL/SQL style variable
declarations in function / procedure headers
2021-02-08 22:27:58 +01:00
Lukas Eder
3388425005 [jOOQ/jOOQ#11390] Support parsing RETURN statement 2021-02-08 21:53:44 +01:00
Lukas Eder
f5c32eb0a2 [jOOQ/jOOQ#11323] Support ELSEIF in HSQLDB 2021-02-08 21:25:49 +01:00
Lukas Eder
8a8c8eeb09 [jOOQ/jOOQ#11367] Fixed regressions 2021-02-08 20:28:35 +01:00
Lukas Eder
a6380e0e0f [jOOQ/jOOQ#11388] java.lang.IllegalStateException: Cannot create a DerivedColumnList from a qualified name 2021-02-08 20:28:01 +01:00
Lukas Eder
0f9f4c348d [jOOQ/jOOQ#11382] Added parser support for <explicit table> 2021-02-08 15:32:56 +01:00
Lukas Eder
4963906433 [jOOQ/jOOQ#11367] Fixed generation of DECLARE vs AS in Oracle
This includes:

- [jOOQ/jOOQ#11367] Declare top level block label only if needed
- [jOOQ/jOOQ#11383] Add Configuration.commercial()
2021-02-08 15:08:52 +01:00
Lukas Eder
f7e67d0475 [jOOQ/jOOQ#11379] Update RecordListener documentation to explain this is
about UpdatableRecords only, not bulk DML
2021-02-08 10:16:08 +01:00
Lukas Eder
f0d1e3e758 [jOOQ/jOOQ#11374] Wrong local variable declaration aggregation.
The algorithm to aggregate local variable declarations at the beginning
of a block statement is quite wrong. We can't simply collect
declarations only from within the block. We need to collect them from
all nested queryparts, or better, re-use the existing scope marker
feature to push them up to the nearest marker.

This includes:

- [jOOQ/jOOQ#11367] Refactor internal ScopeMarkers functionality
2021-02-05 17:35:25 +01:00
Lukas Eder
9330c97236 [jOOQ/jOOQ#11356] Parse old Firebird EXECUTE PROCEDURE syntax 2021-02-05 09:49:50 +01:00
Lukas Eder
4bd5fb45e2 [jOOQ/jOOQ#11373] Add ParamOrVariable<T>, a common super type of Param<T> and Variable<T> 2021-02-04 22:38:13 +01:00
Lukas Eder
1b33f990e8 [jOOQ/jOOQ#11356] Added parser support for CALL 2021-02-04 18:44:45 +01:00
Lukas Eder
2de44105b7 [jOOQ/jOOQ#11369] Emulate using expressions in Db2 DECLARE .. DEFAULT statements
This includes:

- [jOOQ/jOOQ#8230] Fix SIGNAL implementation for Db2
- [jOOQ/jOOQ#11253] Added Context.castMode(CastMode, Consumer)
- [jOOQ/jOOQ#11370] Occasionally repeated BEGIN BEGIN blocks
2021-02-04 15:15:47 +01:00
Lukas Eder
4e6522ab9e [jOOQ/jOOQ#6956] Add labels also to triggers, where needed 2021-02-04 14:10:21 +01:00
Lukas Eder
2680249f1e [jOOQ/jOOQ#6956] Add Firebird trigger support 2021-02-04 10:44:51 +01:00