Commit Graph

1276 Commits

Author SHA1 Message Date
Lukas Eder
c1fb673ed9 [jOOQ/jOOQ#15347] Add Derby support for triggers 2023-07-06 11:09:55 +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
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
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
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
9448c9c399 [jOOQ/jOOQ#9506] Various improvements:
- Implement a file based migration draft
- Throw DataMigrationValidationException if files are wrongly named
- Throw this exception also when loading the XML content
- Update generated code (move it to the top level)
- [jOOQ/jOOQ#15210] No need for CHANGELOG.rename() yet
- [jOOQ/jOOQ#15207] Turn off default schema/catalog
- Added tag support to API and XML configuration
- Make Commits::iterator unmodifiable
2023-06-13 16:38:55 +02:00
Lukas Eder
da073d8de0 [jOOQ/jOOQ#15212] Add <genericConverter/> and <genericBinding/> to allow
for passing T and U types to custom Converter and Binding instances
2023-06-13 09:58:50 +02:00
Lukas Eder
97311cafda [jOOQ/jOOQ#15209] Support ad-hoc compilation of programmatic objects in the code generator
- Add support for GeneratorStrategy
2023-06-12 17:26:09 +02:00
Lukas Eder
21da371056 [jOOQ/jOOQ#15207] Re-generate more jOOQ-meta schemas 2023-06-12 16:15:51 +02:00
Lukas Eder
e0548e3491 [jOOQ/jOOQ#15207] Re-generate jOOQ-meta schemas for Derby, HSQLDB, and MySQL 2023-06-12 12:04:43 +02:00
Lukas Eder
bd56a44932 [jOOQ/jOOQ#15207] Add a configuration flag to avoid generating
DefaultCatalog and DefaultSchema
2023-06-12 11:09:25 +02:00
Lukas Eder
c7e9a2c2af [#15210] Add code generation flags to avoid overrides of as() methods or rename() methods 2023-06-12 08:35:21 +02:00
Lukas Eder
3cabeb65ad [jOOQ/jOOQ#15154] Fix various Javadoc links 2023-05-31 15:22:42 +02:00
Lukas Eder
d62ac49e60 [jOOQ/jOOQ#15149] PostgresDatabase and subtypes may produce wrong table comments in presence of stored functions 2023-05-31 14:36:52 +02:00
Lukas Eder
97c56d2d53 [jOOQ/jOOQ#13947] Support CockroachDB 23 user defined functions - WIP
- Fix array type support
2023-05-31 12:17:59 +02:00
Lukas Eder
099580c718 [jOOQ/jOOQ#13947] Support CockroachDB 23 user defined functions - WIP 2023-05-31 11:44:36 +02:00
Lukas Eder
9bbce6b459 [jOOQ/jOOQ#8012] Override Table.where(Condition) methods in generated tables 2023-05-17 17:47:44 +02:00
Lukas Eder
59db3a9183 [jOOQ/jOOQ#14991] KotlinGenerator produces wrong code with
kotlinNotNullPojoAttributes when multiple references to an embeddable
have different nullability
2023-05-17 12:22:17 +02:00
Lukas Eder
d5ad7d2968 [jOOQ/jOOQ#15050] Add support for generic
org.jooq.log.<logger>=threshold system properties

This includes:

- [jOOQ/jOOQ#15051] Add JooqLogger.isErrorEnabled()
- [jOOQ/jOOQ#15052] JooqLogger log methods don't check if log level is
enabled
2023-05-10 12:44:38 +02:00
Lukas Eder
656e211d42 [jOOQ/jOOQ#15005] Add org.jooq.Path<R>, a type to model join paths
This includes:

- New org.jooq.Path type
- New JOIN method overloads
- Code generation implementation and configuration
2023-05-02 13:12:39 +02:00
Lukas Eder
c42deedaae [jOOQ/jOOQ#14998] Add code generation flag <implicitJoinPathUnusedConstructors/> to offer an option to stop generating unused implicit join path constructors 2023-05-02 08:47:47 +02:00
Lukas Eder
ce1835bdb2 [jOOQ/jOOQ#13639] Change the ManyToManyKeyDefinition name
The ManyToManyKeyDefinition is a directed synthetic key, going from table1 to table2 using foreignkey1 and foreignkey2.

In order to improve the code generation experience out of the box, the name of the key should be the one of foreignkey2.
2023-05-01 11:04:45 +02:00
Lukas Eder
47f59ce5d3 [jOOQ/jOOQ#14993] Add a new <matchers/> subelement <foreignKeys/> 2023-05-01 10:33:06 +02:00
Lukas Eder
caa3dca7db [jOOQ/jOOQ#14985] Support many-to-many path joins 2023-04-28 17:40:44 +02:00
Lukas Eder
49b48887c7 [jOOQ/jOOQ#13639] Add support for to-many path expressions
- Added code generation support
- Added runtime meta data
- Mark the feature as experimental
- Turn off the feature by default, for as long it's experimental
2023-04-26 15:18:09 +02:00
Lukas Eder
52a5abc79d [jOOQ/jOOQ#12052] Add DuckDB support
- Remove stored procedures / functions from tests for now
- Drop indexes explicitly, see
https://github.com/duckdb/duckdb/issues/6737
- Skip T_SPATIAL creation
- No STORED computed columns supported yet
- No constraints on computed columns supported yet
- Work around https://github.com/duckdb/duckdb/issues/7168
- Never fully qualify fields
- Generate jOOQ-meta classes
- Generate integration test classes
- Native * EXCLUDE support
2023-04-21 15:01:08 +02:00
Lukas Eder
b5a7847f03 [jOOQ/jOOQ#12052] Add DuckDB support - WIP 2023-04-18 18:43:06 +02:00
Lukas Eder
10bc1a2ffc [jOOQ/jOOQ#12052] Add DuckDB support - WIP 2023-04-18 18:36:55 +02:00
Lukas Eder
48bc47380f [jOOQ/jOOQ#14930] Implement this for PostgreSQL 2023-04-17 11:57:07 +02:00
Lukas Eder
f00caeb8c2 [jOOQ/jOOQ#14930] Implement this for Db2, Oracle 2023-04-17 11:50:54 +02:00
Lukas Eder
1c179e06d6 [jOOQ/jOOQ#14930] Implement this for Firebird, MySQL (et al.) 2023-04-17 11:04:01 +02:00
Lukas Eder
ead855fc00 [jOOQ/jOOQ#14938] Unstable ordering of Derby generated foreign keys 2023-04-14 13:40:04 +02:00
Lukas Eder
24929de718 [jOOQ/jOOQ#14930] Fix Derby 2023-04-12 17:14:43 +02:00
Lukas Eder
5e9a770487 [jOOQ/jOOQ#14930] Fix TRINO, H2 2023-04-12 17:12:09 +02:00
Lukas Eder
56e36a422d [jOOQ/jOOQ#11485] Support for Trino DB
- Correct parser and interpreter name cases
- Remove workarounds for https://github.com/trinodb/trino/issues/16489
- Emulate LISTAGG .. FILTER
- Emulate INSERT INTO <aliased table>
- Support TIMESTAMPTZ literals and binds
- Correctly recognise ARRAY types in MetaTable
- Add M_SOURCES query to MetaSQL
2023-04-12 16:22:39 +02:00
Lukas Eder
cb4bd635c8 [jOOQ/jOOQ#8617] Add org.jooq.Generated annotation with RUNTIME retention for generated code 2023-03-31 16:47:18 +02:00
Lukas Eder
830e32c791 [jOOQ/jOOQ#14800] Error when PostgreSQL anonymous block contains dollar
quoted string token
2023-03-16 12:09:51 +01:00
Lukas Eder
50e06ebd94 [jOOQ/jOOQ#11485] Trino isn't a commercial dialect 2023-03-13 09:26:40 +01:00
Lukas Eder
d8341ce9ee [jOOQ/jOOQ#11485] Add support for Trino DB - WIP 2023-03-10 15:16:13 +01:00
Lukas Eder
35a5d3afd4 [jOOQ/jOOQ#14764] Avoid dialect version lookup in AbstractDatabase, if
unnecessary
2023-03-09 10:42:53 +01:00
Lukas Eder
20117b0ac8 [jOOQ/jOOQ#13694] Stop using removed API 2023-03-08 16:06:34 +01:00
Lukas Eder
7d629bb3ef [jOOQ/jOOQ#13694] Remove pre 3.8 deprecated API and pre 3.8 documentation 2023-03-08 15:37:03 +01:00
Lukas Eder
5988833d09 Release 3.19.0-SNAPSHOT 2023-03-08 13:41:09 +01:00