Commit Graph

13366 Commits

Author SHA1 Message Date
Lukas Eder
3f03bd952f [jOOQ/jOOQ#17363] Add Records.nullOnAllNull and Records.nullOnAnyNull utilities 2024-09-25 11:57:54 +02:00
Lukas Eder
84847393ad [jOOQ/jOOQ#17359] DDL::applyAsPlainSQL should trim plain SQL string to
check if it starts with CREATE
2024-09-25 10:30:39 +02:00
Lukas Eder
fb9c62849a [jOOQ/jOOQ#17354] Generated view definition's source code case should match the one from the view text 2024-09-24 17:16:25 +02:00
Lukas Eder
1f35febea7 [jOOQ/jOOQ#17320] Regression when generating DDL from certain generated
views
2024-09-24 14:41:33 +02:00
Lukas Eder
7d2432dd2d [jOOQ/jOOQ#17344] MetaImpl and code generator should ignore MySQL's
dummy REMARKS column on DatabaseMetaData::getTables for views
2024-09-24 10:59:10 +02:00
Lukas Eder
6b007ad73e [jOOQ/jOOQ#17341] Add support for DSL.currentCatalog() in MariaDB,
MemSQL, MySQL via the DATABASE() function
2024-09-24 10:58:40 +02:00
Lukas Eder
67fcee7266 [jOOQ/jOOQ#17341] Add support for DSL.currentCatalog() in MariaDB, MemSQL, MySQL via the DATABASE() function 2024-09-24 09:21:26 +02:00
Lukas Eder
7cef85f670 Upgrade ojdbc version 2024-09-24 08:59:17 +02:00
Lukas Eder
9ce2aad3f3 [jOOQ/jOOQ#17333] MetaImpl exceptions should indicate table and column
if applicable, which caused the exception
2024-09-24 08:59:06 +02:00
Lukas Eder
59a7bb1658 [jOOQ/jOOQ#17337] ORA-17068: Invalid arguments in call when calling OracleDatabaseMetaData.getIndexInfo() with quoted object names 2024-09-23 21:04:36 +02:00
Lukas Eder
67ef8c0098 [jOOQ/jOOQ#17333] MetaImpl exceptions should indicate table and column
if applicable, which caused the exception
2024-09-23 19:35:48 +02:00
Lukas Eder
cb5e14e601 [jOOQ/jOOQ#17094] R2DBC Connection leak when cancelling pending connection with ConnectionPool
Changes from the PR:
- Naming
- Avoid overriding concrete methods and use template pattern instead
- Add issue references to comments
2024-09-23 17:36:46 +02:00
Lukas Eder
b32ac525fd
Merge pull request #17095 from polarian/bugfix/cancelled-connection-leak
[jOOQ/jOOQ#17094] Prevent connection leaks on subscription cancellation in R2DBC
2024-09-23 17:16:39 +02:00
Lukas Eder
88846335c4 [jOOQ/jOOQ#15222] Improve exception message when SEEK field list size doesn't match ORDER BY field list size 2024-09-23 16:03:13 +02:00
Lukas Eder
61448b7a96 [jOOQ/jOOQ#17315] Upgrade jOOQ-checker's protobuf-java transitive
dependency due to CVE-2024-7254
2024-09-20 14:31:20 +02:00
Lukas Eder
0a4f43e12a [jOOQ/jOOQ#17274] No need to drop pre-existing tables 2024-09-20 14:16:54 +02:00
Lukas Eder
e5a53bbc69 [jOOQ/jOOQ#17274] JPADatabase should throw Hibernate's exceptions when
there is anything going wrong with the SchemaExport
2024-09-20 12:11:15 +02:00
Lukas Eder
4fa5cf64aa [jOOQ/jOOQ#17298] Records.mapping() implementations should handle null
records
2024-09-19 15:49:50 +02:00
Lukas Eder
d18b14ef16 [jOOQ/jOOQ#2902] SQLite's binding of BigDecimal through PreparedStatement.setString() doesn't work for predicates 2024-09-19 14:53:17 +02:00
Lukas Eder
3aa14277af [jOOQ/jOOQ#4819] [jOOQ/jOOQ#17272] Add remark about fromSupported() and
toSupported()
2024-09-19 14:32:10 +02:00
Lukas Eder
bae364033b [jOOQ/jOOQ#4819] Document the fact that org.jooq.Binding does not
necessarily have to implement a complete org.jooq.Converter
2024-09-19 14:25:17 +02:00
Lukas Eder
a1c4ec3768 [jOOQ/jOOQ#17288] Use columnName 2024-09-19 12:40:28 +02:00
Lukas Eder
77496dd1c5 [jOOQ/jOOQ#17288] NullPointerException in MetaImpl.getUniqueKeys() query when unique key cannot look up column references 2024-09-19 12:34:47 +02:00
Lukas Eder
0592a782b1 [jOOQ/jOOQ#17284] Cannot parse default expression in Derby using MetaImpl when computed column is reported as DEFAULT 2024-09-19 12:00:30 +02:00
Lukas Eder
70250beea4 [jOOQ/jOOQ#17280] Work around DERBY-7170 when fetching sources for
tables in MetaImpl or DerbyDatabase
2024-09-19 11:30:30 +02:00
Lukas Eder
03e3f764b2 [jOOQ/jOOQ#17279] Remove experimental remark from
DSLContext::diagnosticsConnection and similar
2024-09-19 10:44:18 +02:00
Lukas Eder
02ef445c35 [jOOQ/jOOQ#17224] TableRecord null value has its changed flag reset
despite a Converter encoding the null value as a non-null value

This includes:

- [jOOQ/jOOQ#17272] Add Converter.fromSupported() and
Converter.toSupported() default methods
2024-09-19 10:26:46 +02:00
Lukas Eder
a660b41005 [jOOQ/jOOQ#17255] Exception when accessing MetaImpl::ddl with a user that lacks privileges to access certain databasese in SQL Server 2024-09-18 16:07:50 +02:00
Lukas Eder
7eb7e01429 [jOOQ/jOOQ#17255] Upgrade SQL Server JDBC dependency 2024-09-18 16:07:10 +02:00
Lukas Eder
79acd45949 [jOOQ/jOOQ#17263] NullPointerException in MetaImpl::lookupTable when Schema isn't available for lookup of cross-schema foreign keys 2024-09-18 15:22:58 +02:00
Lukas Eder
85c137d699 [jOOQ/jOOQ#17259] Meta::filterCatalogs is applied too late for internal
MetaImpl queries executed by Meta::ddl
2024-09-18 14:34:02 +02:00
Lukas Eder
807ec8850e [jOOQ/jOOQ#7263] Parser should accept qualified field references in
MERGE .. INSERT statement
2024-09-17 16:22:43 +02:00
Lukas Eder
e4d98094eb [jOOQ/jOOQ#17251] Better implementation using USE schema 2024-09-17 12:51:48 +02:00
Lukas Eder
da262ac04b [jOOQ/jOOQ#17251] Cross schema references still don't work:
https://github.com/duckdb/duckdb/issues/13981
2024-09-17 12:35:56 +02:00
Lukas Eder
54a336685d [jOOQ/jOOQ#17247] Log warnings when Java record constructor has more than 254 parameters 2024-09-16 13:22:39 +02:00
Lukas Eder
c8c567348a [jOOQ/jOOQ#17243] UpdatableRecord.delete() should reset all
Record.original() values
2024-09-13 17:54:59 +02:00
Lukas Eder
6294085110 [jOOQ/jOOQ#5394] Fix more Javadoc 2024-09-13 16:53:07 +02:00
Lukas Eder
9e5c759450 [jOOQ/jOOQ#5394] Whoops 2024-09-12 18:00:12 +02:00
Lukas Eder
a70b920c2f [jOOQ/jOOQ#5394] Add a way to load POJOs into Records without setting all the changed flags to true 2024-09-12 17:55:09 +02:00
Lukas Eder
34b560bf82 [jOOQ/jOOQ#12494] Add additional Record.modified() methods 2024-09-12 16:16:43 +02:00
Lukas Eder
dce730d397 [jOOQ/jOOQ#12494] Rename Record.changed() to Record.touched() 2024-09-12 15:21:59 +02:00
Lukas Eder
7308b1f2b7 [jOOQ/jOOQ#12494] Rename Record.changed() to Record.touched() 2024-09-12 15:21:48 +02:00
Lukas Eder
b6f8e56394 [jOOQ/jOOQ#17236] Improve error message in GeneratorWriter when brackets
mismatch, including the offending file
2024-09-12 10:42:02 +02:00
Lukas Eder
4793b21d07 [jOOQ/jOOQ#17235] Upgrade DuckDB dependency to 1.1.0 2024-09-11 16:41:37 +02:00
Lukas Eder
a43ffeae2a [jOOQ/jOOQ#12485] Use PreparedStatement.setObject(int, Object,
Types.OTHER) instead of setString(int, String) to bind array bind values
in PostgreSQL
2024-09-11 14:58:25 +02:00
Lukas Eder
2c3fde2886 [jOOQ/jOOQ#644] Support record/data/case classes
None of these special classes support inheritance, so we must avoid generating inheritance with these class types.

This includes:

- [jOOQ/jOOQ#17232] Generate copy constructors with <pojosAsJavaRecordClasses/>
2024-09-11 12:23:40 +02:00
Lukas Eder
9cf3b0c3bb [jOOQ/jOOQ#17212] Get Sybase SQL Anywhere dialect up to date 2024-09-11 09:28:42 +02:00
Lukas Eder
81c3394805 [jOOQ/jOOQ#10880] Fix isNan(), isPositiveInfinity(),
isNegativeInfinity()
2024-09-11 09:28:25 +02:00
Lukas Eder
09664398a5 [jOOQ/jOOQ#17227] Missing Support and NotNull annotations in ConstraintForeignKeyReferencesStepN 2024-09-11 09:24:53 +02:00
Lukas Eder
93932a6374 [jOOQ/jOOQ#17225] Add support for BigQuery NOT ENFORCED constraint definitions in DDL 2024-09-10 14:35:07 +02:00