Commit Graph

13245 Commits

Author SHA1 Message Date
Lukas Eder
827f103fa1 [jOOQ/jOOQ#17074] Fix JSON_OBJECTAGG() window function
The ARRAY_AGG() window function cannot have an aggregate ORDER BY clause, but we don't really need it when we aggregate entries in a single aggregation, rather than aggregating keys and values separately.
2024-08-15 12:23:14 +02:00
Lukas Eder
44f386e7f3 [jOOQ/jOOQ#17074] Add JSON function support in DuckDB 2024-08-15 12:17:01 +02:00
Lukas Eder
6a976af194 [jOOQ/jOOQ#17059] Redundant unique index on primary key makes foreign
keys disappear in PostgreSQL

This fixes code generation behaviour
2024-08-14 18:03:30 +02:00
Lukas Eder
84c1e5c7ba [jOOQ/jOOQ#17069] TIME(0), LOCALTIME(0), OFFSETDATETIME(0), and INSTANT(0) don't work in DDL statements as the datetime precision is simply omitted 2024-08-14 16:10:28 +02:00
Lukas Eder
bbee824972 [jOOQ/jOOQ#17068] Add DuckDB support for unsigned numbers 2024-08-14 15:10:07 +02:00
Lukas Eder
0b7a5f3fc9 [jOOQ/jOOQ#10880] Add DECFLOAT support
This includes:

- Support casts
- Support DDL
- Support MULTISET usage
- Support Db2's NAN (all uppercase) syntax
2024-08-14 14:47:05 +02:00
Lukas Eder
4bdc6f4a54 [jOOQ/jOOQ#10880] Add DECFLOAT support
This includes:

- Add pgFromString() support
2024-08-14 12:28:04 +02:00
Lukas Eder
c3d66506cf [jOOQ/jOOQ#10880] Add DECFLOAT support
This includes:

- Support integer values as data (without exponent)
- Support DefaultConverterProvider conversions
- Support DataType.hasPrecision()
- Add 1E0 and 0E0 as TRUE_VALUES and FALSE_VALUES
2024-08-14 12:26:39 +02:00
Lukas Eder
044cebb85b [jOOQ/jOOQ#17063] Update DataType.isXYZ() Javadoc with new types 2024-08-14 11:40:55 +02:00
Lukas Eder
aa3fbda55d [jOOQ/jOOQ#10880] Add DECFLOAT support
This includes:

- Added org.jooq.Decfloat draft implementation
- Added DefaultBinding
- Added SQLDataType and dialect specific ones
- Added binding test
- org.jooq.Decfloat implements org.jooq.Data
- Normalisation of Decfloat for equals(), hashCode(), toString()
- [jOOQ/jOOQ#17060] Add a org.jooq.Data interface, which all the data()
bearing types can implement
2024-08-14 10:13:38 +02:00
Lukas Eder
b60097822c [jOOQ/jOOQ#17056] Support comparing arrays in BigQuery 2024-08-13 15:04:49 +02:00
Lukas Eder
9b10360358 [jOOQ/jOOQ#17057] Emulate (ROW) DISTINCT predicates where not available
and INTERSECT is also not available
2024-08-13 15:04:32 +02:00
Lukas Eder
2e4877aa86 [jOOQ/jOOQ#17037] Add BigQuery support for various array functions 2024-08-13 13:58:05 +02:00
Lukas Eder
247b70b2c8 [jOOQ/jOOQ#17055] BigQuery FILTER clause is ignored on MEDIAN() or PERCENTILE_CONT() / PERCENTILE_DISC() functions 2024-08-13 13:57:53 +02:00
Lukas Eder
34f9f9714b [jOOQ/jOOQ#17046] Upgrade H2 dependency to 2.3.232 2024-08-13 10:19:43 +02:00
Lukas Eder
9708c7d7e7 [jOOQ/jOOQ#17037] Inline array bind values 2024-08-12 11:05:28 +02:00
Lukas Eder
f768442721 [jOOQ/jOOQ#17045] Support array types as BigQuery results 2024-08-12 09:55:25 +02:00
Lukas Eder
8693b2fa0d [jOOQ/jOOQ#16997] jOOQ-codegen-gradle plugin doesn't work with Gradle's configuration cache feature 2024-08-12 09:16:41 +02:00
Lukas Eder
9aec5c9de7 [jOOQ/jOOQ#17040] SQLDialect.JAVA warning message about derived tables not being supported is misleading 2024-08-12 08:37:45 +02:00
Lukas Eder
418bb8ff92 [jOOQ/jOOQ#17037] Add BigQuery support for various array functions
This includes:

- ARRAY_ALL_MATCH
- ARRAY_ANY_MATCH
- ARRAY_APPEND
- ARRAY_FILTER
- ARRAY_GET
- ARRAY_MAP
- ARRAY_NONE_MATCH
- CARDINALITY
2024-08-09 13:33:24 +02:00
Lukas Eder
30be9eee28 [jOOQ/jOOQ#17037] Add BigQuery support for various array functions
This includes:

- [jOOQ/jOOQ#17036] Add BigQuery support for arrayGet()
2024-08-08 18:06:24 +02:00
Lukas Eder
67e6657192 [jOOQ/jOOQ#17030] JDBCUtils.dialect() detects wrong MySQL dialect for versions > 8.1 2024-08-07 15:55:55 +02:00
Lukas Eder
ccbe04b1b5 [jOOQ/jOOQ#17019] Wrong cast being generated for H2's MySQL style enum types, when a EnumConverter is present 2024-08-07 15:49:29 +02:00
Lukas Eder
d3b72dff19 [jOOQ/jOOQ#17026] Repeated WHERE FALSE clause in CREATE TABLE AS SELECT .. WITH NO DATA emulation, when query is nested 2024-08-07 14:30:56 +02:00
Lukas Eder
1b344e8693 [jOOQ/jOOQ#17021] Add BigQuery support for CREATE TABLE from a SELECT 2024-08-07 14:15:48 +02:00
Lukas Eder
2d7759dc05 [jOOQ/jOOQ#17018] Row[N].in(Row[N]...), Row[N].between(...), and
Row[N].is[Not]DistinctFrom(...) should apply data type bindings if
necessary
2024-08-07 12:54:33 +02:00
Lukas Eder
be6cb4a991 [jOOQ/jOOQ#17017] Add BigQuery support for JSON_OBJECTAGG 2024-08-06 18:41:15 +02:00
Lukas Eder
bb2d386bdf [jOOQ/jOOQ#16979] Exception when doing Meta.ddl() export with tables
that have USE or GO or similar field or table aliases
2024-08-05 16:39:34 +02:00
Lukas Eder
5e737fd626 [jOOQ/jOOQ#17009] SQLite unnamed unique constraints are listed in a
non-deterministic order by code generator
2024-08-05 15:04:22 +02:00
Lukas Eder
79d9acb567 [jOOQ/jOOQ#16946] Apply fix also to OSS edition 2024-08-05 15:03:31 +02:00
Lukas Eder
90c3cd8e5c [jOOQ/jOOQ#16978] Error when trying to delay DataType inference for
scalar SQL type converted to user array type
2024-08-05 13:56:29 +02:00
Lukas Eder
c7d2f2ec92 [jOOQ/jOOQ#16999] Reset also new caches when adding synthetic keys 2024-07-31 18:33:33 +02:00
Lukas Eder
d792494e78 [jOOQ/jOOQ#16999] Code generation order provider isn't being applied to TableDefinition.getXYZ() methods, nor to Database.getIndexes() or Database.getTriggers() 2024-07-31 17:13:23 +02:00
Lukas Eder
5eba72d49b [jOOQ/jOOQ#16997] Avoid referencing project from task at runtime 2024-07-31 12:35:23 +02:00
Lukas Eder
3cade0204f [#16988] Correctly name Apache-2.0 everywhere 2024-07-29 13:00:52 +02:00
Lukas Eder
4f50ef2c55 [#16988] Correctly name Apache-2.0 everywhere 2024-07-29 12:53:09 +02:00
Lukas Eder
ae481ac913 [jOOQ/jOOQ#14894] Remove examples 2024-07-12 15:16:59 +02:00
Lukas Eder
03cdd195d2 [jOOQ/jOOQ#14894] Remove examples 2024-07-12 15:11:40 +02:00
Lukas Eder
1fcf275a15 [#14894] Remove examples 2024-07-12 15:07:31 +02:00
Lukas Eder
60e5f8a32c [jOOQ/jOOQ#7104] Add DSL.stringAgg() and stringAggDistinct() 2024-07-12 14:13:14 +02:00
Lukas Eder
d450151a0a [jOOQ/jOOQ#16973] Support GROUP BY <table expression> 2024-07-11 20:15:24 +02:00
Lukas Eder
10ed629a88 [jOOQ/jOOQ#16968] Force inline bind values after 2536 in Teradata 2024-07-11 18:04:21 +02:00
Lukas Eder
8085a92d2c [jOOQ/jOOQ#16965] org.jooq.impl.Alias not Serializable, due to Lambda
wrapInParantheses
2024-07-11 16:15:47 +02:00
Lukas Eder
021dff0c52 [jOOQ/jOOQ#14965] Java 8 fix
Java 8 seemingly cannot infer the Exception type to be a RuntimeException (yet), so the functional approach won't work, regrettably.
2024-07-11 09:30:32 +02:00
Lukas Eder
fc400a3ab8 [jOOQ/jOOQ#14965] Wrong emulation of DISTINCT ON with UNION 2024-07-10 17:28:01 +02:00
Lukas Eder
5a15867285 [jOOQ/jOOQ#16953] Empty window definition in WINDOW clause isn't
emulated correctly in SQLDialect.ORACLE18C
2024-07-10 16:28:20 +02:00
Lukas Eder
61261ae57c [jOOQ/jOOQ#16946] Wrong combination of emulations: DISTINCT ON with UNION and LIMIT with expressions 2024-07-10 15:05:19 +02:00
Lukas Eder
87baa24803 [jOOQ/jOOQ#14965] Wrong emulation of DISTINCT ON with UNION 2024-07-10 14:36:08 +02:00
Lukas Eder
77a0f967a8 [jOOQ/jOOQ#16928] Bad OFFSET emulation in UNION queries when OFFSET
contains an expression
2024-07-10 12:06:46 +02:00
Lukas Eder
81f9c081d0 [jOOQ/jOOQ#16938] Work around SQL Server's buggy UNION with ORDER BY ..
OFFSET .. FETCH implementation in derived tables
2024-07-09 17:18:47 +02:00