Commit Graph

11619 Commits

Author SHA1 Message Date
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
Lukas Eder
5ead6c7585 [jOOQ/jOOQ#14046] Add support for MySQL's JSON_KEYS()
- API
- QOM types
- Parser support
- Native implementation in MySQL/MariaDB
- Emulations in PostgreSQL/SQLite
2022-09-30 16:59:15 +02:00
Lukas Eder
239cfb8d28 [jOOQ/jOOQ#13249] Emulate JSON_OBJECT's ABSENT ON NULL clause in MySQL 2022-09-30 15:21:06 +02:00
Lukas Eder
05508c32c7 [jOOQ/jOOQ#13791] Apply an auto-converter to <forcedType> in the absence of an explicit converter, if possible 2022-09-27 16:55:52 +02:00
Lukas Eder
ff5cfa2dc6 [jOOQ/jOOQ#14034] Upgrade to Scala 2.13.9 to mitigate CVE-2022-36944 2022-09-27 11:18:40 +02:00
Lukas Eder
4a38a5cb29 [jOOQ/jOOQ#13866] KotlinGenerator produces directory names with
backticks when catalog names contain special characters
2022-09-27 11:18:13 +02:00
Lukas Eder
68957a3029 [jOOQ/jOOQ#14033] Re-generated code 2022-09-27 09:11:09 +02:00
Lukas Eder
37c8bf3a29
Merge pull request #14033 from perlun/patch-1
Fix incorrect grammar in XSD documentation
2022-09-27 09:10:05 +02:00
Per Lundberg
65fef08e60
Fix incorrect grammar in XSD documentation 2022-09-27 10:00:21 +03:00
Lukas Eder
193af0d985 Revert "[jOOQ/jOOQ#12934] Add jOOQ-kotlin extension methods to help ignore nullability when mapping" 2022-09-26 14:37:13 +02:00
Lukas Eder
0c57089a12 [jOOQ/jOOQ#6516] ORA-01704 when generating large CLOB inline values in
Oracle
2022-09-26 11:13:35 +02:00
Lukas Eder
2b57efb150 [jOOQ/jOOQ#14027] ClobBinding and BlobBinding shouldn't delegate sql()
generation to internal DefaultClobBinding or DefaultBlobBinding
2022-09-26 10:27:03 +02:00
Lukas Eder
77015bbc52
Merge pull request #14026 from vlsi/patch-1
Fix "Use case" -> "Possible solution" field name in feature request template
2022-09-24 23:21:02 +02:00
Vladimir Sitnikov
1f588f6075
Fix "Use case" -> "Possible solution" field name in feature request template
feature_request.yaml had two "use case" fields
2022-09-24 19:22:44 +03:00