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
Lukas Eder
f042d81391
[ jOOQ/jOOQ#9506 ] Support loading XML definitions from files
2023-06-22 10:45:24 +02:00
Lukas Eder
7bb57342dd
[ jOOQ/jOOQ#9506 ] Some better Javadocs
2023-06-22 09:30:36 +02:00
Lukas Eder
3e6fd534fa
[ jOOQ/jOOQ#9506 ] Java 8 support
2023-06-22 08:01:13 +02:00
Lukas Eder
22d7bc465c
[ jOOQ/jOOQ#15270 ] Wrong implementation of
...
SelectQueryImpl::wrapQueryExpressionBodyInDerivedTable in jOOQ Open
Source Edition
2023-06-21 21:08:35 +02:00
Lukas Eder
d851046ba4
[ jOOQ/jOOQ#15250 ] LoggerListener logs some batch queries twice, when
...
using BatchMultiple
2023-06-21 15:02:04 +02:00
Data Geekery CI Bot
913798f7eb
Re-generated code
2023-06-21 11:55:44 +02:00
Lukas Eder
33f1c0f458
[ jOOQ/jOOQ#9506 ] More debugging
2023-06-21 11:06:01 +02:00
Lukas Eder
f0e0ce5c99
[ jOOQ/jOOQ#14985 ] Override TableImpl.as() methods also in Path subtype.
...
In order to allow for things like:
BOOK.join(BOOK.author())
We generate a Author subclass that extends Author & Path<AuthorRecord> to help auto-generate the right ON clause. This now also works with aliased paths:
BOOK.join(BOOK.author().as(a))
2023-06-21 11:05:46 +02:00
Lukas Eder
03c14397ca
[ jOOQ/jOOQ#15261 ] Add Javadoc to plain SQL DSL.field() constructors recommending to use code generation or at least pass a DataType
2023-06-21 08:40:03 +02:00
Lukas Eder
91fa53d6c5
[ jOOQ/jOOQ#15207 ] A fix for a regression when both
...
<outputSchemaToDefault>true</outputSchemaToDefault> and
<defaultSchema>false</defaultSchema>
In this fix, we move the assumption of an EnumType being stored in the schema from an EnumType::getSchema check to an EnumType::getName check. The latter being null really means the enum isn't stored.
2023-06-20 13:00:00 +02:00
Lukas Eder
28dac4ecc7
[ jOOQ/jOOQ#15249 ] Add ExecuteContext.skipUpdateCounts to allow for setting the AbstractContext.skipUpdateCounts flag in an ExecuteListener
2023-06-19 10:21:28 +02:00
Lukas Eder
49713f680b
[ jOOQ/jOOQ#9506 ] Fix wrong package name
2023-06-16 16:45:15 +02:00
Lukas Eder
5201d762a6
[ jOOQ/jOOQ#12456 ] Ambiguous match found when using aliases with implicit join and joining the same table twice
2023-06-16 16:34:17 +02:00
Lukas Eder
d334f61aa3
[ jOOQ/jOOQ#9506 ] Explicit loading of the JDBC driver, if available
2023-06-16 15:41:00 +02:00
Lukas Eder
b60b5c524b
[ jOOQ/jOOQ#15239 ] Hint at settings from INFO message
2023-06-16 13:53:20 +02:00
Lukas Eder
312f82c30c
[ jOOQ/jOOQ#15239 ] Add Settings.parseMetaViewSource to allow for opting out of parsing view source in MetaImpl
2023-06-16 13:50:56 +02:00
Lukas Eder
694c266de9
[ jOOQ/jOOQ#9506 ] Support tags in file based migration
2023-06-16 13:31:51 +02:00
Lukas Eder
2868ea0968
[ jOOQ/jOOQ#15238 ] MetaImpl::ddl() should produce plain SQL CREATE VIEW
...
statements if it can't parse the view contents
2023-06-16 13:29:21 +02:00
Lukas Eder
bae588224b
[ jOOQ/jOOQ#9506 ] GitCommitProvider now supports tags
2023-06-16 09:50:37 +02:00
Lukas Eder
ddf9afc09b
[ jOOQ/jOOQ#9506 ] All migration objects are Scopes
2023-06-16 09:14:49 +02:00
Lukas Eder
9e04de7cf8
[ jOOQ/jOOQ#9506 ] Add a way to resolve() a FAILURE
2023-06-16 09:05:25 +02:00
Lukas Eder
80ac10e1c8
[ jOOQ/jOOQ#9506 ] Added a History API draft
2023-06-15 16:13:41 +02:00
Lukas Eder
61fd552bb8
[ jOOQ/jOOQ#15230 ] Add support for MySQL DECIMAL/FLOAT/DOUBLE/REAL UNSIGNED types in Meta and code generation
2023-06-15 16:09:47 +02:00
Lukas Eder
73cb9f20ae
[ jOOQ/jOOQ#15201 ] Remove Migrations::version and Versions.
2023-06-15 12:34:01 +02:00
Lukas Eder
fc99f71ccb
[ jOOQ/jOOQ#9506 ] Restore root Node.message() to be init
2023-06-15 12:22:05 +02:00
Lukas Eder
d154a461a8
[ jOOQ/jOOQ#15201 ] Rename "validate" to "verify"
2023-06-15 12:01:41 +02:00
Lukas Eder
020153bfa9
[ jOOQ/jOOQ#9506 ] Create default schema before creating history table
...
If no history schema is defined, the history table will be placed in the default schema, currently (this is up for review). In that case, the default schema must be created earlier.
2023-06-15 09:08:19 +02:00
Lukas Eder
f575623ecf
[ jOOQ/jOOQ#9506 ] Mute LoggerListener::exception in some cases
2023-06-15 08:46:56 +02:00
Lukas Eder
7177c64c9d
[ jOOQ/jOOQ#9506 ] Fixed nullability annotations
2023-06-15 08:37:32 +02:00
Lukas Eder
f33cb9b04c
[ jOOQ/jOOQ#9506 ] Various improvements
2023-06-15 08:35:09 +02:00
Lukas Eder
402d9101d9
[ jOOQ/jOOQ#9506 ] Various improvements
...
This includes:
- Add a default schema Settings
- Add create schema if not exists logic and Settings
- Fix issues in Mojos
2023-06-14 21:32:21 +02:00
Lukas Eder
25f023ebe5
[ jOOQ/jOOQ#9506 ] Various improvements
...
This includes:
- Commits::add should return this
- Add Settings.migrationHistorySchema
- Add some DEBUG logging
- Add a jOOQ-migrations-maven module draft
- Cache AbstractNode.root to avoid excessive recursive root() lookups
- [jOOQ/jOOQ#15201 ] Rename changelog to history
- [jOOQ/jOOQ#15201 ] Removal of Commits.commit(String)
2023-06-14 15:52:43 +02:00
Lukas Eder
4d5147ec52
[ jOOQ/jOOQ#15201 ] Remove org.jooq.impl.Migrations
...
Remove static constructors in org.jooq.impl.Migrations. All constructors should be offered via org.jooq.Migrations
2023-06-14 10:52:09 +02:00
Lukas Eder
bbb04e2848
[ jOOQ/jOOQ#9506 ] A Commits graph must be closed (i.e. a single graph)
...
All nodes in the graph must share the same root node.
2023-06-14 10:39:43 +02:00
Lukas Eder
8002bdc39f
[ jOOQ/jOOQ#9506 ] Add a new Commits::current
...
The term current should refer to the currently installed version in
the database as per the changelog.
2023-06-14 10:33:46 +02:00
Lukas Eder
45ae47c441
[ jOOQ/jOOQ#9506 ] Rename current to latest
2023-06-14 10:09:17 +02:00
Lukas Eder
9d20ee8ab4
[ jOOQ/jOOQ#9506 ] Update CHECK constraint and generated class
2023-06-13 19:39:31 +02:00
Lukas Eder
d074b53ba2
[ jOOQ/jOOQ#9506 ] Add Commits::current
...
- If all branches have been merged, then there's a notion of a current commit, which is the last commit in the graph. In the future, there will also be labeled branches and a default branch, which will then always contain a current commit.
The current commit is necessary to be able to migrate somewhere by default (if no target commit ID is given)
2023-06-13 17:28: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
e3e6272afd
[ jOOQ/jOOQ#15218 ] NullPointerException in AbstractMeta::lookupTable, when there is no DefaultCatalog
2023-06-13 11:18:18 +02:00
Lukas Eder
6dc26fb10c
[ jOOQ/jOOQ#15195 ] H2 dialect should cast binary data of unknown length
...
as VARBINARY, not as BINARY
2023-06-13 11:01:28 +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
83e30567b1
[ jOOQ/jOOQ#15202 ] Add missing Experimental annotation to migrations API types
2023-06-09 15:29:39 +02:00
Lukas Eder
41c5b88d53
[ jOOQ/jOOQ#15196 ] Deprecate inconsistent DSL.jsonObject(Field...) and
...
DSL.jsonbObject(Field...) overloads
2023-06-09 13:57:56 +02:00