Commit Graph

13489 Commits

Author SHA1 Message Date
Lukas Eder
22aa792884 [jOOQ/jOOQ#15331] Batch::executeAsync throws NullPointerException when
executed with R2DBC driver
2023-07-11 13:02:16 +02:00
Lukas Eder
998c0148be [jOOQ/jOOQ#15383] Compilation error in generated code when global object 2023-07-11 13:00:17 +02:00
Lukas Eder
2178a3cb8f [jOOQ/jOOQ#15375] Table with 255 columns generates record and POJO
objects whose constructors have too many parameters
2023-07-10 12:00:59 +02:00
Lukas Eder
aabda2ca53 [jOOQ/jOOQ#14756] javac can't infer this type? 2023-07-07 17:52:01 +02:00
Lukas Eder
c70b490c99 [jOOQ/jOOQ#15351] OSS edition fix 2023-07-07 17:42:08 +02:00
Lukas Eder
7eb6c72c32 [jOOQ/jOOQ#15351] Add PostgreSQL support for CREATE TRIGGER and DROP
TRIGGER - WIP
2023-07-07 16:21:40 +02:00
Lukas Eder
40e40916a3 [jOOQ/jOOQ#15366] Avoid generating sort specification in indexes in
dialects that don't support it
2023-07-07 09:53:09 +02:00
Lukas Eder
bf9200aad9 [jOOQ/jOOQ#15354] onConstraint needs to be copied too in :: 2023-07-06 18:07:36 +02:00
Lukas Eder
44bea35609 [jOOQ/jOOQ#15364] Wrong deprecation notices in PostgresDSL 2023-07-06 18:05:57 +02:00
Lukas Eder
6eba28d075
Merge pull request #15363 from tegonal/fix/postgresql-dsl-deprecation-version-replacement
fix deprecation version and replacement
2023-07-06 18:02:18 +02:00
Robert Stoll
eaae992891
fix deprecation version and replacement 2023-07-06 17:53:29 +02:00
Lukas Eder
0c467556f4 [jOOQ/jOOQ#15354] Emulate REFERENCING clause in CREATE TRIGGER in
dialects that don't support it natively

This includes:

- [jOOQ/jOOQ#14756] Traversal and Replacement for InsertQueryImpl
- [jOOQ/jOOQ#14756] Implement Insert:: and Insert::
mutators
2023-07-06 17:33:07 +02:00
Lukas Eder
65d288d5bf [jOOQ/jOOQ#15354] Emulate REFERENCING clause in CREATE TRIGGER in
dialects that don't support it natively

This includes:

- [jOOQ/jOOQ#14756] Traversal and Replacement for InsertQueryImpl
- [jOOQ/jOOQ#14756] Implement Insert:: and Insert::
mutators
2023-07-06 17:01:43 +02:00
Lukas Eder
6bb6950a48 [jOOQ/jOOQ#15347] OSS edition fix 2023-07-06 14:55:17 +02:00
Lukas Eder
caf663b294 [jOOQ/jOOQ#15347] Support single-statement trigger bodies on RDBMS that only support SQL triggers 2023-07-06 13:35:37 +02:00
Lukas Eder
4dbac7fd11 [jOOQ/jOOQ#15350] Support FOR UPDATE [ WAIT | NOWAIT | SKIP LOCKED ] 2023-07-06 12:04:51 +02:00
Lukas Eder
6c0d295af6 [jOOQ/jOOQ#15350] Native support for ANY_VALUE() 2023-07-06 11:54:03 +02:00
Lukas Eder
357268c7da [jOOQ/jOOQ#13680] Remove workaround for H2 process hanging when using
FINAL TABLE (MERGE ...)
2023-07-06 11:31:05 +02:00
Lukas Eder
5017810320 [jOOQ/jOOQ#15350] Add SQLDialect.H2_2_2_220 2023-07-06 11:28:23 +02:00
Lukas Eder
c1fb673ed9 [jOOQ/jOOQ#15347] Add Derby support for triggers 2023-07-06 11:09:55 +02:00
Lukas Eder
8040c27660 [jOOQ/jOOQ#15350] Add SQLDialect.H2_2_2_220 2023-07-06 11:09:37 +02:00
Lukas Eder
b50d1f175d [jOOQ/jOOQ#11248] Added HSQLDB, MariaDB, and MySQL support 2023-07-04 18:01:01 +02:00
Lukas Eder
49d11d55c6 [jOOQ/jOOQ#11248] Added HSQLDB, MariaDB, and MySQL support 2023-07-04 16:26:13 +02:00
Lukas Eder
f1395c4542 [jOOQ/jOOQ#11248] Added Firebird support 2023-07-04 15:21:01 +02:00
Lukas Eder
16f0d2d82f [#11248] Add Trigger runtime meta model - WIP 2023-07-04 11:23:25 +02:00
Lukas Eder
b0af10ae45 [jOOQ/jOOQ#15319] Error when generating code from a MariaDB database containing packages 2023-07-03 11:17:12 +02:00
Lukas Eder
9dc53ed975 [jOOQ/jOOQ#15303] Meta.ddl() generates broken DDL for columns of unknown types 2023-06-30 09:28:16 +02:00
Lukas Eder
423cab8e8d [jOOQ/jOOQ#15315] Upgrade pgjdbc to 42.6.0 2023-06-29 17:13:49 +02:00
Lukas Eder
808998f552 [jOOQ/jOOQ#14429] Builds should log their build date with the logo
Also, no strings attached. There's no moral reason to keep the logo if users are using the free version...
2023-06-29 15:09:24 +02:00
Lukas Eder
19769b7c33 [jOOQ/jOOQ#14551] Added
- https://blog.jooq.org/how-to-generate-package-private-code-with-jooqs-code-generator/
- https://blog.jooq.org/how-to-turn-a-list-of-flat-elements-into-a-hierarchy-in-java-sql-or-jooq/
- https://blog.jooq.org/how-to-use-jooqs-converters-with-union-operations/
2023-06-29 14:49:45 +02:00
Lukas Eder
c34b4249c4 [jOOQ/jOOQ#15307] Emulate CREATE SCHEMA with CREATE USER .. NO AUTHENTICATION in Oracle 18c 2023-06-29 12:39:22 +02:00
Lukas Eder
2f8c92314a [jOOQ/jOOQ#9506] Some dogfooding of [jOOQ/jOOQ#15276] (synth enums) 2023-06-29 12:39:09 +02:00
Lukas Eder
5aca7f2afa [jOOQ/jOOQ#9506] Some dogfooding of [jOOQ/jOOQ#15276] (synth enums) 2023-06-29 10:54:49 +02:00
Lukas Eder
fa33074193 [jOOQ/jOOQ#15302] Meta.ddl() generates broken DDL for smallserial columns 2023-06-29 10:54:08 +02:00
Lukas Eder
ba97ea4596 [jOOQ/jOOQ#15281] Fix regressions in the KotlinGenerator 2023-06-28 15:34:56 +02:00
Lukas Eder
ce21c2f806 [jOOQ/jOOQ#14985] Support path based NATURAL JOIN 2023-06-28 13:44:12 +02:00
Lukas Eder
c62bd3c240 [jOOQ/jOOQ#15291] Meta.ddl() export generates wrong DDL for constraints with USING INDEX clause in Oracle 2023-06-28 13:43:32 +02:00
Data Geekery CI Bot
32cf3ede88 Re-generated code 2023-06-27 13:45:00 +02:00
Lukas Eder
adfb76f689 [jOOQ/jOOQ#15281] Fix regressions 2023-06-27 13:11:20 +02:00
Lukas Eder
f455b0875e [jOOQ/jOOQ#5713] [jOOQ/jOOQ#15286] Add static type registry warning
Historically, the static type registry could also be used to look up converted data types, which is discouraged due to how unreliable it is.

TODO: Move this to a dynamic type registry and make warning configurable
2023-06-27 10:28:48 +02:00
Lukas Eder
981c54370b [jOOQ/jOOQ#15286] Add Javadoc to discourage using any m(Class<T>) method if there's an m(DataType<T>) overload 2023-06-27 09:23:32 +02:00
Lukas Eder
1785649ba5 [jOOQ/jOOQ#15276] Add literalsFromColumnContent
Also, make literalsFromCheckConstraints explicit
2023-06-26 15:22:29 +02:00
Lukas Eder
360642d00c [jOOQ/jOOQ#15278] CheckDefinition.getSource() should return CheckDefinition.getCheckClause() contents 2023-06-26 15:22:17 +02:00
Lukas Eder
7b8c8d7a2c [jOOQ/jOOQ#15281] [jOOQ/jOOQ#10561] Declare ref conflicts for UDTs 2023-06-26 13:40:52 +02:00
Data Geekery CI Bot
123bec708c Re-generated code 2023-06-26 12:37:14 +02:00
Lukas Eder
b702548040 [jOOQ/jOOQ#15281] Generated code should import user defined types in data type definitions 2023-06-26 11:49:57 +02:00
Lukas Eder
ff33a15a97 [jOOQ/jOOQ#15276] Don't log unnecessary warnings 2023-06-26 11:33:34 +02:00
Lukas Eder
9cea2b14cc [jOOQ/jOOQ#15276] Don't use EnumConverter for these
The first implementation attached an EnumConverter to matching columns, but this wasn't necessary. We have a standard way to turn a type into an EnumType using DataType::asEnumDataType, which should be used instead, just as if we had a MySQL or PostgreSQL enum type.
2023-06-26 10:53:50 +02:00
Lukas Eder
a5b5f467a7 [jOOQ/jOOQ#15276] Add code generation support for synthetic enums
This includes:

- [jOOQ/jOOQ#15277] Add Replacers.transformPatterns(Configuration)
public API to give access to the internal Replacer
- [jOOQ/jOOQ#15279] EnumConverter should support org.jooq.EnumType as U
type
2023-06-23 17:15:00 +02:00
Lukas Eder
f1839ea17e [jOOQ/jOOQ#15275] Update jakarta.xml.bind:jakarta.xml.bind-api from 3.0.0 to 4.0.0 2023-06-23 12:11:18 +02:00