Commit Graph

9652 Commits

Author SHA1 Message Date
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
Lukas Eder
a0449b67a4 [jOOQ/jOOQ#11334] Field.getDataType(Configuration) resets nullability 2021-01-29 14:07:22 +01:00
Lukas Eder
17742be57b [jOOQ/jOOQ#11336] Emulate CREATE OR REPLACE in MySQL
- FUNCTION
- PROCEDURE
- TRIGGEER
2021-01-29 13:40:16 +01:00
Lukas Eder
055015fda9 [jOOQ/jOOQ#11329] Deprecate XYZFinalStep types 2021-01-29 13:07:48 +01:00
Lukas Eder
4f5224e041 [jOOQ/jOOQ#11329] Remove new XYZFinalStep types again
XYZFinalStep types that have never been released, can be removed again, instead of going through a deprecation phase. These include:

- DropFunctionFinalStep
- DropProcedureFinalStep
- DropTriggerFinalStep
- CreateFunctionFinalStep
- CreateProcedureFinalStep
- CreateTriggerFinalStep
2021-01-29 11:23:37 +01:00
Lukas Eder
7b3dbc645e [jOOQ/jOOQ#11333] Add parser support for hash style comments (#) in MariaDB, MySQL 2021-01-29 11:04:55 +01:00
Lukas Eder
b35d11dfe3 [jOOQ/jOOQ#9190] Emulate OR REPLACE in MySQL 2021-01-29 10:48:48 +01:00
Lukas Eder
1c649bbc8b [jOOQ/jOOQ#9190] Refactored common FUNCTION and PROCEDURE logic 2021-01-29 10:34:32 +01:00
Lukas Eder
d9b912c2aa [jOOQ/jOOQ#9190] Support CREATE OR REPLACE FUNCTION / PROCEDURE 2021-01-28 23:44:52 +01:00
Lukas Eder
fa3058f7d3 [jOOQ/jOOQ#9190] Support OUT parameters in procedures 2021-01-28 17:40:52 +01:00
Lukas Eder
f620247007 [jOOQ/jOOQ#9190] Standardise RETURN 2021-01-28 16:38:25 +01:00
Lukas Eder
2fc91bab03 [jOOQ/jOOQ#9190] Add CREATE PROCEDURE support 2021-01-28 16:23:01 +01:00
Lukas Eder
cfdc38c081 [jOOQ/jOOQ#11330] Let Parameter<T> extend Variable<T> 2021-01-28 09:45:33 +01:00
Lukas Eder
fb83bee182 [jOOQ/jOOQ#9190] Add support for CREATE FUNCTION - WIP 2021-01-27 21:10:57 +01:00
Lukas Eder
501115c250 [jOOQ/jOOQ#9190] Add support for CREATE FUNCTION and CREATE PROCEDURE
- DSL API for CREATE FUNCTION
- Basic implementation for HSQLDB
- Simple integration test added
2021-01-27 20:48:22 +01:00
Lukas Eder
fbcb914e4b [jOOQ/jOOQ#9191] Add support for DROP FUNCTION and DROP PROCEDURE 2021-01-27 16:35:19 +01:00
Lukas Eder
a845bbcf17 [jOOQ/jOOQ#8230] Support parsing RAISE 2021-01-27 16:12:55 +01:00