Commit Graph

13382 Commits

Author SHA1 Message Date
Lukas Eder
0db0beac81 [jOOQ/jOOQ#17390] Javadoc typos on trigger related methods 2024-09-26 16:07:05 +02:00
Lukas Eder
992b2b656a [jOOQ/jOOQ#9574] Derby code generation support 2024-09-26 16:00:33 +02:00
Lukas Eder
14de50bb9b [jOOQ/jOOQ#9574] H2 code generation support
This includes:

- [jOOQ/jOOQ#17389] Deprecate org.jooq.meta.h2.information_schema, regenerate new meta schema in org.jooq.meta.h2_2.information_schema
2024-09-26 15:32:07 +02:00
Lukas Eder
4fd6b134bd [jOOQ/jOOQ#17388] Deprecate SQLDialect.H2_1_4 version support 2024-09-26 15:14:39 +02:00
Lukas Eder
b68ec5fbd2 [jOOQ/jOOQ#9574] Add org.jooq.Synonym
This includes:

- Code generation support
- MetaSQL support
- HSQLDB code generation
2024-09-26 14:47:40 +02:00
Lukas Eder
cf7cdae07c [jOOQ/jOOQ#9574] Fix FilteredMeta 2024-09-26 12:12:42 +02:00
Lukas Eder
a1dddf7906 [jOOQ/jOOQ#9574] Interpreter implementation
This includes:

- DROP TABLE .. CASCADE / RESTRICT
- DROP SYNONYM
2024-09-26 10:51:20 +02:00
Lukas Eder
f4f20a9e36 [jOOQ/jOOQ#9574] Support parsing Informix PRIVATE SYNONYM 2024-09-26 10:30:19 +02:00
Lukas Eder
433b1afd15 [jOOQ/jOOQ#9574] Fix Oracle pre 23ai DROP SYNONYM IF EXISTS 2024-09-26 10:25:45 +02:00
Lukas Eder
d17ebe2c7a [jOOQ/jOOQ#9574] Fix Db2 DROP SYNONYM IF EXISTS 2024-09-26 10:23:41 +02:00
Lukas Eder
2a78b257f3 [jOOQ/jOOQ#17376] Add a link to DSL::coerce from DSL::cast and Field::cast 2024-09-26 10:01:34 +02:00
Lukas Eder
0317bdada9 [jOOQ/jOOQ#9574] Add org.jooq.Synonym
This includes:

- DDL export implementation
- Interpreter implementation
- FilteredMeta implementation
- Snapshot implementation

Still missing

- Correctly support CASCADE / RESTRICT semantics (interpreter)
- Correct serialisation in case foreign keys reference synonyms
- Interpretation in case foreign keys reference synonyms
2024-09-25 18:16:24 +02:00
Lukas Eder
a4d5a7ae24 [jOOQ/jOOQ#9574] Add org.jooq.Synonym
This includes:

- Add QOM API
- Add CREATE SYNONYM support
- Add DROP SYNONYM support
- Add parser support
2024-09-25 16:40:15 +02:00
Lukas Eder
b220431b46 [jOOQ/jOOQ#9574] Add org.jooq.Synonym
This includes:

- Add QOM API
- Add CREATE SYNONYM support
- Add DROP SYNONYM support
- Add parser support
2024-09-25 16:40:12 +02:00
Lukas Eder
100e476d64 [jOOQ/jOOQ#17369] Oracle PL/SQL %ROWTYPE references should be declared as such in anonymous blocks when calling procedures 2024-09-25 16:34:29 +02:00
Lukas Eder
6195a73b62 [jOOQ/jOOQ#9574] Add org.jooq.Synonym
This includes:

- Add QOM API
- Add CREATE SYNONYM support
- Add DROP SYNONYM support
- Add parser support
2024-09-25 15:13:26 +02:00
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