Commit Graph

9668 Commits

Author SHA1 Message Date
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
Lukas Eder
90dbe8978b [jOOQ/jOOQ#11366] OSS edition fix 2021-02-04 09:58:04 +01:00
Lukas Eder
16cd34b158 [jOOQ/jOOQ#11366] Collect nested DECLARE statements in Firebird and pull them up to the top level block 2021-02-03 23:13:12 +01:00
Lukas Eder
0073c3b5b9 [jOOQ/jOOQ#11359] Parse informix DEFINE 2021-02-03 17:57:21 +01:00
Lukas Eder
808b03ef9b [jOOQ/jOOQ#11360] Add CustomStatement 2021-02-03 16:15:36 +01:00
Lukas Eder
73d0eadb4b [jOOQ/jOOQ#11359] Added Informix support for procedural languages
Including (and more):

- [jOOQ/jOOQ#9190] CREATE PROCEDURE / FUNCTION
- [jOOQ/jOOQ#9191] DROP PROCEDURE / FUNCTION
2021-02-03 16:05:00 +01:00
Lukas Eder
b98dbd8591 [jOOQ/jOOQ#11356] Add support for CALL in procedural languages 2021-02-02 21:45:06 +01:00
Lukas Eder
2c5080ffaf [jOOQ/jOOQ#11346] Fixed kotlin example 2021-02-02 21:44:24 +01:00
Lukas Eder
7c6c41ec63 [jOOQ/jOOQ#11345] Memory leak regression in DefaultDataType cache 2021-02-02 16:32:09 +01:00
Lukas Eder
519cb21ff3 [jOOQ/jOOQ#11347] Fixed formatting (excess whitespace from empty WITH) 2021-02-02 15:55:04 +01:00
Lukas Eder
3aad73e45e [jOOQ/jOOQ#11347] Wrong syntax generated for empty WITH clause
This includes:

- [jOOQ/jOOQ#11350] Missing H2 support on WithStep::selectOne and
similar methods
2021-02-02 15:28:11 +01:00
Lukas Eder
a90999b2da [jOOQ/jOOQ#6956] [jOOQ/jOOQ#9190] Added Oracle support
This includes:

- [jOOQ/jOOQ#11348] BooleanDataKey.DATA_FORCE_STATIC_STATEMENT only
forces inlining of bind values, not static statement execution
2021-02-02 14:53:55 +01:00
Lukas Eder
bf70da70bd [jOOQ/jOOQ#9190] Emulate RETURN for PROCEDURE in MariaDB, MySQL 2021-02-01 17:13:25 +01:00
Lukas Eder
5dface3df7 [jOOQ/jOOQ#9190] Firebird no-arg return_() should be EXIT, not RETURN 2021-02-01 16:46:55 +01:00
Lukas Eder
8537ae91c1 [jOOQ/jOOQ#9190] Support Firebird
This includes:

- [jOOQ/jOOQ#11344] Add Context.declareParameters()
2021-02-01 15:08:57 +01:00
Lukas Eder
e532485333 [jOOQ/jOOQ#9190] Added support for PostgreSQL 2021-01-30 16:54:29 +01:00
Lukas Eder
76bf3566c3 [jOOQ/jOOQ#9190] WIP 2021-01-30 15:41:44 +01:00
Lukas Eder
6e48f713f7 [jOOQ/jOOQ#11323] Add HSQLDB procedural language support 2021-01-29 21:48:07 +01:00
Lukas Eder
50c32272e9 [jOOQ/jOOQ#11265] Internal DataKey.DATA_PREPEND_SQL functionality should
be cumulative
2021-01-29 18:21:10 +01:00
Lukas Eder
4672fc15bc [jOOQ/jOOQ#11265] Internal DataKey.DATA_PREPEND_SQL functionality should
be cumulative
2021-01-29 18:18:24 +01:00
Lukas Eder
6a0b4714cd [jOOQ/jOOQ#11325] PostgreSQL 11 compatible fix 2021-01-29 18:18:00 +01:00
Lukas Eder
c8f290cfa3 [jOOQ/jOOQ#11325] PostgreSQL routines with long names are excluded by code generator 2021-01-29 15:49:38 +01:00
Lukas Eder
cda7b1bc42 [jOOQ/jOOQ#11338] Add convenience for common bracing / formatting / indenting SQL rendering 2021-01-29 14:52:48 +01:00