Commit Graph

11632 Commits

Author SHA1 Message Date
Lukas Eder
da8a79452f [jOOQ/jOOQ#13593] Implement transformPatternsCountConstant 2022-10-27 10:54:06 +02:00
Lukas Eder
157f822e7b [jOOQ/jOOQ#14141] Generated text blocks for view sources should escape backslashes 2022-10-27 09:34:55 +02:00
Lukas Eder
5bed0b0e88 [jOOQ/jOOQ#7527] Added consecutiveAggregation() 2022-10-27 08:39:34 +02:00
Lukas Eder
8c8efd6042 [jOOQ/jOOQ#7527] Support pattern transformations 2022-10-26 16:47:14 +02:00
Lukas Eder
11481b2964 [jOOQ/jOOQ#7527] Added nullCondition diagnostic
This includes:

- [jOOQ/jOOQ#14138] DiagnosticsConnection should store duplicate SQL strings in Configuration, not static variable
2022-10-26 15:59:06 +02:00
Lukas Eder
a167560143 [jOOQ/jOOQ#7398] Add Settings for each individual diagnostic
This includes:

- [jOOQ/jOOQ#14136] Let DiagnosticsContext extends Scope
2022-10-26 14:53:48 +02:00
Lukas Eder
ea3c4590b3 [jOOQ/jOOQ#14132] Code generator shouldn't generate precision on
non-decimal types
2022-10-26 11:00:34 +02:00
Lukas Eder
532f1a5402 [jOOQ/jOOQ#3173] Added ParserCLI support 2022-10-25 15:00:59 +02:00
Lukas Eder
6f44c5ed10 [jOOQ/jOOQ#3173] Add SQL transformation to inline CTE 2022-10-25 14:55:50 +02:00
Lukas Eder
5c936a2396 [jOOQ/jOOQ#14131] Improve Val.getName() for array values 2022-10-25 10:29:51 +02:00
Lukas Eder
ecd949beb4 [jOOQ/jOOQ#6359] PostgreSQL inlined numeric arrays shouldn't generate string literals 2022-10-25 10:25:24 +02:00
Lukas Eder
5479497371 [jOOQ/jOOQ#14097] Various improvements 2022-10-25 09:34:40 +02:00
Lukas Eder
72828b0796 [jOOQ/jOOQ#14052] Upgrade to HSQLDB 2.7.1 to mitigate CVE-2022-41853 2022-10-25 09:34:11 +02:00
Lukas Eder
307195505e [jOOQ/jOOQ#14118] Support default RECORD or TABLE parameters
See also [jOOQ/jOOQ#14106] [jOOQ/jOOQ#14112]
2022-10-20 14:10:33 +02:00
Lukas Eder
da12147ca7 [jOOQ/jOOQ#14105] ClassCastException when nesting array(select) projections 2022-10-20 10:48:50 +02:00
Lukas Eder
30568537fd [jOOQ/jOOQ#14112] Cannot pass null values as arguments for PL/SQL RECORD types 2022-10-19 16:40:44 +02:00
Lukas Eder
35fb3973e6 [jOOQ/jOOQ#14106] Support default values of PL/SQL RECORD types
This includes:

- Support for default values in flat records

This does not include:

- %ROWTYPE records (which don't inherit defaults)
- Tables, varrays, and associative arrays of records
2022-10-19 14:24:20 +02:00
Lukas Eder
359ef49ad6 [jOOQ/jOOQ#14110] License header should use HTTPS rather than HTTP 2022-10-19 10:43:58 +02:00
Lukas Eder
5533aee756 [jOOQ/jOOQ#14108] Upgrade jackson-databind dependency to 2.13.4.2 to mitigate CVE-2022-42003 2022-10-19 10:23:22 +02:00
Lukas Eder
7d14c40c9b [jOOQ/jOOQ#14103] Refactor some ParserImpl internals 2022-10-18 12:34:23 +02:00
Lukas Eder
2b6abe0fc7 [jOOQ/jOOQ#14103] Add parser support for MySQL USE / FORCE / IGNORE
INDEX hints
2022-10-18 12:28:05 +02:00
Lukas Eder
1a7c201f49 [jOOQ/jOOQ#14100] Table as SelectField native support relies on actual column order, not generated order 2022-10-18 09:55:43 +02:00
Lukas Eder
b304c44389 [jOOQ/jOOQ#14089] Add parser support for CREATE SCHEMA .. DEFAULT CHARSET 2022-10-14 11:24:24 +02:00
Lukas Eder
ae122cf29e [jOOQ/jOOQ#14098] Document the fact that some DDL emulations may require the commercial editions 2022-10-14 10:17:58 +02:00
Lukas Eder
93c56c13ad [jOOQ/jOOQ#14077] Update support annotations 2022-10-13 17:20:51 +02:00
Lukas Eder
28dd12ac2f [jOOQ/jOOQ#14077] Support fields lists (WIP)
This syntax is possible in SQL Server:

ALTER VIEW v (x, y) AS SELECT 1, 2

We can support it too. Currently, only a Table<?>, Field<?>... overload is available. The QOM API generator can't generate the other overloads (yet). Will look into that, soon.
2022-10-13 17:15:28 +02:00
Lukas Eder
5becdccc59 [jOOQ/jOOQ#14095] DSL.createView() returns raw type CreateViewAsStep 2022-10-13 15:10:57 +02:00
Lukas Eder
143d78006a [jOOQ/jOOQ#14077] Add support for SQL Server's ALTER VIEW .. AS syntax 2022-10-13 15:03:42 +02:00
Lukas Eder
f55fa8a770 [jOOQ/jOOQ#9085] [jOOQ/jOOQ#13375] [jOOQ/jOOQ#14074] Update ArrayTable
The SQLDialect.DEFAULT behaviour should be that of the standard SQL for array tables
2022-10-13 11:22:31 +02:00
Lukas Eder
eba8a527bf [jOOQ/jOOQ#14086] Support parsing SELECT .. INTO <qualified table> FROM 2022-10-12 17:08:26 +02:00
Lukas Eder
0dc172bf85 [jOOQ/jOOQ#14084] Parser should parse Oracle WITH FUNCTION syntax (and throw an unsupported exception) 2022-10-12 16:49:59 +02:00
Lukas Eder
7a6b6a27e9 [jOOQ/jOOQ#14082] Add parser support for MySQL's CREATE INDEX .. VISIBLE keyword 2022-10-12 16:28:21 +02:00
Lukas Eder
fa1a4d842b [jOOQ/jOOQ#10819] NULL clause on H2's columns should not be produced 2022-10-12 14:21:59 +02:00
Lukas Eder
1b3b100d26 [jOOQ/jOOQ#14074] Add support for passing a list of bind values to DSL.unnest(Collection) 2022-10-12 13:07:40 +02:00
Lukas Eder
6349b4ff57 [jOOQ/jOOQ#13375] Add support for unnesting collections of expressions with DSL::unnest 2022-10-12 12:47:43 +02:00
Lukas Eder
7466ec4118 [jOOQ/jOOQ#14071] Add parser support for undocumented AS keyword in SQL
Server procedure parameter list
2022-10-11 17:31:31 +02:00
Lukas Eder
153182f05c [jOOQ/jOOQ#10018] Updated SQLite implementation 2022-10-11 15:00:06 +02:00
Lukas Eder
076e1fca8c [jOOQ/jOOQ#14067] HSQLDB is also affected 2022-10-11 14:29:01 +02:00
Lukas Eder
eacceadee4 [jOOQ/jOOQ#14067] ClobBinding and BlobBinding shouldn't bind a null value on PreparedStatement::setClob and ::setBlob 2022-10-11 13:03:45 +02:00
Lukas Eder
c48dd42de3 [jOOQ/jOOQ#14065] More expression repetition avoidance
This includes:

- Additional tests to detect repetition
- [jOOQ/jOOQ#14066] Split SimpleQueryPart into two, allowing for marking
types that are always simple
- Turn more QueryPart types into SimpleQueryPart
2022-10-11 12:27:55 +02:00
Lukas Eder
2449f09b9d [jOOQ/jOOQ#14065] Add internal utilities to help avoid repeating
expressions
2022-10-10 17:55:56 +02:00
Lukas Eder
fd5d035301 [jOOQ/jOOQ#10018] Fixed Db2 implementation 2022-10-10 17:14:43 +02:00
Lukas Eder
28965531c8 [jOOQ/jOOQ#10018] Work around https://jira.mariadb.org/browse/MDEV-29751 2022-10-10 12:21:01 +02:00
Lukas Eder
9ac13879d8 [jOOQ/jOOQ#14064] Add SQL Server 2016 support for JSON_VALUE 2022-10-10 11:29:33 +02:00
Lukas Eder
c4bb33795a [jOOQ/jOOQ#10018] Added more tests, fixed MySQL implementation 2022-10-10 11:19:03 +02:00
Lukas Eder
227330d58b [jOOQ/jOOQ#14060] Work around Derby's Error [30000] [54002]: A string
constant starting with '...' is too long
2022-10-07 17:02:14 +02:00
Lukas Eder
eedab96a69 [jOOQ/jOOQ#14058] WindowSpecification:: should return UnmodifiableList<? extends GroupField> 2022-10-07 14:39:15 +02:00
Lukas Eder
ada001c9dc [jOOQ/jOOQ#14055] Upgrade protobuf-java to 3.16.3 to mitigate CVE-2021-22569 2022-10-07 11:14:30 +02:00
Lukas Eder
5cccc758e0 [jOOQ/jOOQ#14053] Upgrade jackson-databind dependency to 2.13.4 to
mitigate CVE-2022-42004
2022-10-07 11:00:41 +02:00
Lukas Eder
364c970963 [jOOQ/jOOQ#14046] Add support for MySQL's JSON_KEYS()
- Oracle support
2022-09-30 17:35:08 +02:00