Commit Graph

12539 Commits

Author SHA1 Message Date
Lukas Eder
8616f8c496 [jOOQ/jOOQ#15639] RenderMapping doesn't apply to QualifiedRowid 2023-09-26 13:13:05 +02:00
Lukas Eder
2b3b5373c1 [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Support UPDATE .. FROM 2023-09-26 09:46:32 +02:00
Lukas Eder
fa8a665b05 [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Support DELETE .. USING 2023-09-26 09:24:17 +02:00
Lukas Eder
6ef4abdbbb [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Support set operations (UNION etc.)
This includes a refactoring where ScopeStackElement is subclassed for specialisation. We need one key per type of ScopeStackElement, such that values can be null for certain keys. That way, the new ScopeDefinerScopeStack element can be absent even if the DataKeyScopeStackElement is present on all scopes. Future refactors might further specialise the DefaultScopeStackElement, which contains the query part specific contents (e.g. join tree)
2023-09-25 16:38:32 +02:00
Lukas Eder
0255ad3199 [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Support CTAS and CV
This includes:
- [jOOQ/jOOQ#15635] Add a Context::scopePart property
2023-09-25 15:29:20 +02:00
Lukas Eder
4168c15d2b [jOOQ/jOOQ#15632] Support InlineDerivedTables in DELETE and INSERT
This includes:

- [jOOQ/jOOQ#15634] Distinguish between Context::qualify and Context::qualifySchema
2023-09-25 11:48:26 +02:00
Lukas Eder
ef2b95eb46 [jOOQ/jOOQ#15632] Support InlineDerivedTables in UPDATE 2023-09-25 10:42:06 +02:00
Lukas Eder
54d663bcba [jOOQ/jOOQ#2682] Support outer joins with policies 2023-09-22 17:30:45 +02:00
Lukas Eder
67aa9616f4 [jOOQ/jOOQ#15629] InlineDerivedTable can't be outer joined 2023-09-22 14:12:37 +02:00
Lukas Eder
ca8fa16e42 [jOOQ/jOOQ#2682] Support INSERT (simple case) 2023-09-21 18:12:50 +02:00
Lukas Eder
68a9145844 [jOOQ/jOOQ#2682] Support UPDATE and DELETE (simple cases) 2023-09-21 17:34:31 +02:00
Lukas Eder
bef6c3b187 [jOOQ/jOOQ#15625] QOM.Delete mutators produce a copy that always has a RETURNING clause 2023-09-21 17:23:00 +02:00
Lukas Eder
36673ae12e [jOOQ/jOOQ#2682] Add org.jooq.Policy - WIP 2023-09-20 18:01:48 +02:00
Lukas Eder
d7c70a22ed [jOOQ/jOOQ#15610] The egit 6 dependency has a Java 11 baseline 2023-09-20 12:16:47 +02:00
Lukas Eder
402236b25a [jOOQ/jOOQ#15623] Stop using deprecated DSL API in jOOQ-meta 2023-09-20 12:05:59 +02:00
Lukas Eder
41505e01db [jOOQ/jOOQ#15621] Synthetic comment flag <deprecated> should produce
@Deprecated annotation in addition to Javadoc
2023-09-20 11:41:19 +02:00
Lukas Eder
b24ae90b10 [jOOQ/jOOQ#15620] Upgrade third party libraries for JDK 21 build 2023-09-20 10:20:00 +02:00
Lukas Eder
053d927ef6 [jOOQ/jOOQ#15614] Wrong Support annotation on COMMENT ON COLUMN for MariaDB 2023-09-19 16:54:09 +02:00
Lukas Eder
9f1b86a1a0 [jOOQ/jOOQ#15582] MariaDB UPDATE .. RETURNING emulation should work on tables with unique constraints only 2023-09-19 16:38:30 +02:00
Lukas Eder
68dc0f4ce5 [jOOQ/jOOQ#9483] Shame on me :D 2023-09-19 13:28:05 +02:00
Lukas Eder
477aeba7eb [jOOQ/jOOQ#9483] ojdbc's DatabaseMetaData::getTables returns TABLE
Instead of clearly indicating that something is a materialized view...
2023-09-19 10:47:47 +02:00
Lukas Eder
8e83af8c8b [jOOQ/jOOQ#9483] Support materialized views in Diff 2023-09-19 08:48:07 +02:00
Lukas Eder
5a02c0cd48
Merge pull request #15610 from jOOQ/dependabot/maven/jOOQ-migrations/org.eclipse.jgit-org.eclipse.jgit-6.6.1.202309021850-r
Bump org.eclipse.jgit:org.eclipse.jgit from 5.9.0.202009080501-r to 6.6.1.202309021850-r in /jOOQ-migrations
2023-09-19 08:18:41 +02:00
dependabot[bot]
5f41604fc7
Bump org.eclipse.jgit:org.eclipse.jgit in /jOOQ-migrations
Bumps org.eclipse.jgit:org.eclipse.jgit from 5.9.0.202009080501-r to 6.6.1.202309021850-r.

---
updated-dependencies:
- dependency-name: org.eclipse.jgit:org.eclipse.jgit
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 19:22:21 +00:00
Lukas Eder
9f3645f94e [jOOQ/jOOQ#9483] Fix export of COMMENT ON MATERIALIZED VIEW 2023-09-18 18:15:15 +02:00
Lukas Eder
5853a7e3da [jOOQ/jOOQ#9483] Add DDLExportConfiguration flags
And also:
[jOOQ/jOOQ#9483] Fixed PG/CRDB meta query, added Db2 implementation
2023-09-18 18:13:06 +02:00
Lukas Eder
5e6ae12455 [jOOQ/jOOQ#15608] Upgrade H2 to 2.2.224 2023-09-18 16:11:34 +02:00
Lukas Eder
f58fc103ed [jOOQ/jOOQ#9483] Include sources of materialized views in PostgresDatabase::sources 2023-09-18 14:49:19 +02:00
Lukas Eder
c84ed4bfcf [jOOQ/jOOQ#15607] Add interpreter support for COMMENT ON MATERIALIZED VIEW 2023-09-15 15:29:47 +02:00
Lukas Eder
555a1d4884 [jOOQ/jOOQ#15607] Add support for COMMENT ON MATERIALIZED VIEW 2023-09-15 15:19:09 +02:00
Lukas Eder
450ad85d32 [jOOQ/jOOQ#9483] Add support for ALTER MATERIALIZED VIEW 2023-09-15 14:19:27 +02:00
Lukas Eder
e6391079f6 [jOOQ/jOOQ#9483] Add support for { CREATE | DROP } MATERIALIZED VIEW
This includes:

- [jOOQ/jOOQ#15593] Add support for and emulate CREATE OR REPLACE MATERIALIZED VIEW and other objects
- Interpreter support
- InformationSchemaExport support
- InformationSchema support
2023-09-15 13:33:42 +02:00
Lukas Eder
de1195b669 [jOOQ/jOOQ#15602] Plain SQL Javadoc disclaimer is absent on api
generator generated step methods
2023-09-15 11:55:47 +02:00
Lukas Eder
b7e0e04e99 [jOOQ/jOOQ#15602] Plain SQL Javadoc disclaimer is absent on api generator generated step methods 2023-09-15 11:45:37 +02:00
Lukas Eder
89276bfc3f [jOOQ/jOOQ#15598] Fix DefaultRecordMapper Javadoc to reflect actual
behaviour
2023-09-15 11:28:22 +02:00
Lukas Eder
47db4a9c9b [jOOQ/jOOQ#9483] Added parser support 2023-09-14 16:09:56 +02:00
Lukas Eder
5352cdfce3 [jOOQ/jOOQ#15592] Add missing Asterisk and QualifiedAsterisk.except(Collection<? extends Field<?>>) overloads 2023-09-14 15:21:01 +02:00
Lukas Eder
9b2d1226f7 [jOOQ/jOOQ#9483] Implement CREATE / DROP MATERIALIZED VIEW 2023-09-14 15:12:45 +02:00
Lukas Eder
ece047750c [jOOQ/jOOQ#9483] Move QOM.CreateView to API generator 2023-09-14 13:47:05 +02:00
Lukas Eder
f957a1e7ee [jOOQ/jOOQ#15591] Remove unnecessary line breaks in formatted DDL 2023-09-14 09:04:55 +02:00
Lukas Eder
4c72fe508d [jOOQ/jOOQ#15591] Remove unnecessary line breaks in formatted DDL 2023-09-14 08:56:48 +02:00
Lukas Eder
abdf5bd2b5 [jOOQ/jOOQ#15588] Add support for ALTER TYPE IF EXISTS 2023-09-13 17:06:54 +02:00
Lukas Eder
aed19d79f4 [jOOQ/jOOQ#12547] Refactor some common code 2023-09-13 12:09:42 +02:00
Lukas Eder
acefae289c [jOOQ/jOOQ#12547] Internal patchIso8601Timestamp() isn't safe for 5
digit years

This addresses also the various edge cases from [jOOQ/jOOQ#13786]
2023-09-13 12:04:34 +02:00
Lukas Eder
cc452c2c45 [jOOQ/jOOQ#15583] UDTImpl should use Name instead of String in
constructor
2023-09-13 10:22:23 +02:00
Lukas Eder
fe9e97ce6d Revert "[jOOQ/jOOQ#15564] MutablePOJOMapper should be able to map to instance, even if there isn't a default constructor" 2023-09-13 09:32:50 +02:00
Lukas Eder
f740a00069 [jOOQ/jOOQ#15564] MutablePOJOMapper should be able to map to instance, even if there isn't a default constructor 2023-09-12 16:19:25 +02:00
Lukas Eder
4fb5291fe8 [jOOQ/jOOQ#15574] DefaultOtherBinding shouldn't create string literals for inline values for numeric data types 2023-09-12 13:55:04 +02:00
Lukas Eder
2739f355a0 [jOOQ/jOOQ#15569] Record.into(recordInstance) should modify argument record 2023-09-11 13:12:26 +02:00
Lukas Eder
2e5a1c8e8a [jOOQ/jOOQ#14946] Upgrade Spring 2023-09-11 08:36:22 +02:00