Commit Graph

13614 Commits

Author SHA1 Message Date
Lukas Eder
53bb2aaa52 [jOOQ/jOOQ#17910] Factor out deprecated H2 MERGE statement logic from
standard SQL MergeImpl
2025-01-17 14:15:00 +01:00
Lukas Eder
4c8c03fc84 [jOOQ/jOOQ#16409] Move some logic to OSS edition 2025-01-17 08:56:06 +01:00
Lukas Eder
46c0a3760f [jOOQ/jOOQ#16409] Improve Javadoc and log DEBUG message on RETURNING clauses, stressing that they can't return any rows for tables without identity in some dialects 2025-01-17 08:44:31 +01:00
Lukas Eder
71e1a06781 [jOOQ/jOOQ#10574] Add PascalCaseGeneratorStrategy to improve user experience for T-SQL schemas implemented in PascalCase 2025-01-16 14:34:22 +01:00
Lukas Eder
841983c9a7 [jOOQ/jOOQ#17842] Fix MySQL/MariaDB NCLOB mapping 2025-01-16 13:24:59 +01:00
Lukas Eder
e839f966ae [jOOQ/jOOQ#15159] SQLExceptionLoggerListener logs wrong message on table with IDENTITY column and UNIQUE key 2025-01-16 13:18:00 +01:00
Lukas Eder
75b5ad811d [jOOQ/jOOQ#17842] Incomplete dialect support for SQLDialect.LONGVARCHAR
and similar esoteric String / binary types
2025-01-16 11:27:46 +01:00
Lukas Eder
a256f6db53 [jOOQ/jOOQ#9085] SQLDialect.DEFAULT should render * EXCEPT syntax 2025-01-16 08:58:49 +01:00
Lukas Eder
c34fd07c47 [jOOQ/jOOQ#17899] Javadoc for JooqLogger should be java.util.logging and not jav.util.logging 2025-01-15 17:28:17 +01:00
Lukas Eder
5ee8a18e9c [jOOQ/jOOQ#17861] ORA-22848 thrown if a BLOB or CLOB field is used in IN
and NOT IN list predicates

This includes:

- [jOOQ/jOOQ#17890] ORA-22848 thrown if a BLOB or CLOB field is used row
value comparison predicates
2025-01-15 15:17:20 +01:00
Lukas Eder
2b34dbaa0f [jOOQ/jOOQ#9085] Reverse default rendering of COUNT(table) 2025-01-15 12:48:45 +01:00
Lukas Eder
924298c6b6 [jOOQ/jOOQ#17873] Avoid case sensitive access to PgDatabaseMetaData
columns due to regressions after driver version 42.7.5
2025-01-15 10:33:10 +01:00
Lukas Eder
011382f043 [jOOQ/jOOQ#17868] StackOverflowError when resolving asterisk in parsed
query using derived table with unsuccessful meta lookups
2025-01-15 09:39:13 +01:00
Lukas Eder
7d5b31d7e8 [jOOQ/jOOQ#16567] Better play safe in DefaultJavaTypeResolver 2025-01-10 17:04:54 +01:00
Lukas Eder
0eb5a08016 [jOOQ/jOOQ#16567] Restore caching of resolvedType in AbstractTypedElementDefinition 2025-01-10 15:14:31 +01:00
Lukas Eder
d69db14a0f I deleted my account on this terrible hate platform 2025-01-10 10:35:18 +01:00
Lukas Eder
270828323e [jOOQ/jOOQ#17855] Upgrade ojdbc 2025-01-10 10:35:13 +01:00
Lukas Eder
dd0dc8d0a9 [jOOQ/jOOQ#17855] ORA-12704: character set mismatch placing NULL and non-NULL NVARCHAR values in UNION ALL subqueries 2025-01-10 10:11:51 +01:00
Lukas Eder
eb1ef8d93b [jOOQ/jOOQ#17791] Code generator should generate type comments on
generated enums and UDTs
2025-01-10 09:08:26 +01:00
Lukas Eder
9c825bbd77 [jOOQ/jOOQ#17850] Error when reading NULL bind value of type NVARCHAR from MySQL driver 2025-01-09 16:01:37 +01:00
Lukas Eder
a379de090d [jOOQ/jOOQ#17846] Missing NVARCHAR support in R2DBC integration 2025-01-09 13:48:03 +01:00
Lukas Eder
fc43637855 [jOOQ/jOOQ#17803] Firebird is also affected 2025-01-08 09:48:49 +01:00
Lukas Eder
3c80bdb8f7 [jOOQ/jOOQ#17803] Avoid CAST expression in DDL DEFAULT where unsupported 2025-01-08 09:17:44 +01:00
Lukas Eder
662243d51b [jOOQ/jOOQ#17803] Double or Float inline values should be cast to their
appropriate types where the rendered literals are interpreted as NUMERIC
or DECIMAL
2025-01-07 16:34:38 +01:00
Lukas Eder
32f8669d2d [jOOQ/jOOQ#17802] Specific overloads of DSL.val(X) no longer infers data
type of built-in type X for null values
2025-01-06 15:17:28 +01:00
Lukas Eder
3ddf481be5 [jOOQ/jOOQ#17827] Get SQLDialect.AURORA_POSTGRES up to date 2025-01-06 13:43:19 +01:00
Lukas Eder
a39999b673 [jOOQ/jOOQ#17818] SQLDialect.AURORA_POSTGRES should cast JSONB and
similar types in INSERT statements
2025-01-06 11:44:00 +01:00
Lukas Eder
91e14f7042 [jOOQ/jOOQ#17823] Upgrade errorprone transitive dependencies to mitigate
CVE-2023-2976
2025-01-06 10:05:58 +01:00
Lukas Eder
c00eef54b7 [jOOQ/jOOQ#17808] Parser doesn't support qualified identifiers in DROP
TYPE statement
2024-12-27 11:00:50 +01:00
Lukas Eder
24d916e8a1 Whitespace 2024-12-27 10:50:57 +01:00
Lukas Eder
f6e25b03e7 [jOOQ/jOOQ#17806] Parse and ignore ALTER SEQUENCE .. OWNED BY syntax 2024-12-27 10:50:37 +01:00
Lukas Eder
154668e93b
Request people create 1 issue per problem 2024-12-27 10:27:23 +01:00
Lukas Eder
b3b8a7fd8a [jOOQ/jOOQ#17786] Avoid static type registry lookups in DSL::if_ and
DSL::iif calls, if possible
2024-12-23 10:13:05 +01:00
Lukas Eder
84df2232c8 [jOOQ/jOOQ#17787] Regression when enabling <jpaAnnotation> for NOT NULL
DEFAULT columns, which should continue to be marked as @Column(nullable
= true)
2024-12-23 10:11:57 +01:00
Lukas Eder
02e997e01f [jOOQ/jOOQ#15762] Exception in MetaImpl when encountering string literal
default expressions in MariaDB 10.1
2024-12-23 10:11:07 +01:00
Lukas Eder
e5e64595a0 [jOOQ/jOOQ#17798] T-SQL dialects should generate LTRIM(string, characters) (and RTRIM) instead of TRIM(LEADING characters FROM string) for better overall compatibility 2024-12-23 10:09:58 +01:00
Lukas Eder
3d4ab62785 [jOOQ/jOOQ#11519] NullPointerException in SchemaMapping due to race
condition in SchemaMapping cache
2024-12-19 14:01:13 +01:00
Lukas Eder
f26669a60d [jOOQ/jOOQ#17785] Field::contains should be emulated using DSL::position instead of Field::like, if available 2024-12-18 13:38:01 +01:00
Lukas Eder
aec78ab32b [jOOQ/jOOQ#17591] Weird emulation of TRUE Field<Boolean> value in Oracle 23ai 2024-12-17 17:05:45 +01:00
Lukas Eder
b3f7cc14ba [jOOQ/jOOQ#17778] Missing trigger meta data in code generation output for Oracle INSTEAD OF triggers on views 2024-12-13 14:20:25 +01:00
Lukas Eder
e89077aa85 [jOOQ/jOOQ#16501] GeneratorStrategy::getJavaMemberOverride should be called with Mode.DAO for all member-specific fetchByXYZ methods generated in a DAO 2024-12-13 09:05:27 +01:00
Lukas Eder
07a31c55f8 [jOOQ/jOOQ#17777] Emulate multiple MERGE .. WHEN NOT MATCHED clauses 2024-12-12 16:05:16 +01:00
Lukas Eder
c67cd2429f [jOOQ/jOOQ#10059] The NotMatchedBy internal enum isnt' needed 2024-12-12 11:24:49 +01:00
Lukas Eder
f51e9e386f [jOOQ/jOOQ#10059] [jOOQ/jOOQ#10715] MERGE improvements
This includes:

- [jOOQ/jOOQ#10715] Add support for multiple MERGE .. WHEN NOT MATCHED AND { condition }
- [jOOQ/jOOQ#10059] Add support for SQL Server MERGE .. WHEN NOT MATCHED BY { SOURCE | TARGET }
2024-12-12 11:20:18 +01:00
Lukas Eder
69d0fd5691 [jOOQ/jOOQ#17770] Parser doesn't correctly parse MERGE with multiple
WHEN MATCHED clauses if the last WHEN MATCHED clause doesn't have any
AND clause
2024-12-12 10:18:18 +01:00
Lukas Eder
9fcc37ee2e [jOOQ/jOOQ#17765] Javadoc typo on MergeNotMatchedStep.whenNotMatchedThenInsert 2024-12-11 15:43:16 +01:00
Lukas Eder
fd76e92a00 [jOOQ/jOOQ#16379] Compilation error in generated Indexes.java when index
references embeddables that replace their underlying fields
2024-12-11 15:04:05 +01:00
Lukas Eder
b95d554fea [jOOQ/jOOQ#17761] Table.fieldsIncludingHidden() should include fields
from embeddables with <replacesFields/>
2024-12-11 12:54:36 +01:00
Lukas Eder
2f2a9b76d3 [jOOQ/jOOQ#17762] EmbeddableTableField::toString should render a ROW style display of the field 2024-12-11 11:35:47 +01:00
Lukas Eder
11ce2ec1cf [jOOQ/jOOQ#14005] Code generator produces wrong ordering of DataType
properties for nullable and defaulted array types
2024-12-09 19:41:11 +01:00