Commit Graph

13581 Commits

Author SHA1 Message Date
Lukas Eder
84df2232c8 [jOOQ/jOOQ#17787] Regression when enabling <jpaAnnotation> for NOT NULL
DEFAULT columns, which should continue to be marked as @Column(nullable
= true)
2024-12-23 10:11:57 +01:00
Lukas Eder
02e997e01f [jOOQ/jOOQ#15762] Exception in MetaImpl when encountering string literal
default expressions in MariaDB 10.1
2024-12-23 10:11:07 +01:00
Lukas Eder
e5e64595a0 [jOOQ/jOOQ#17798] T-SQL dialects should generate LTRIM(string, characters) (and RTRIM) instead of TRIM(LEADING characters FROM string) for better overall compatibility 2024-12-23 10:09:58 +01:00
Lukas Eder
3d4ab62785 [jOOQ/jOOQ#11519] NullPointerException in SchemaMapping due to race
condition in SchemaMapping cache
2024-12-19 14:01:13 +01:00
Lukas Eder
f26669a60d [jOOQ/jOOQ#17785] Field::contains should be emulated using DSL::position instead of Field::like, if available 2024-12-18 13:38:01 +01:00
Lukas Eder
aec78ab32b [jOOQ/jOOQ#17591] Weird emulation of TRUE Field<Boolean> value in Oracle 23ai 2024-12-17 17:05:45 +01:00
Lukas Eder
b3f7cc14ba [jOOQ/jOOQ#17778] Missing trigger meta data in code generation output for Oracle INSTEAD OF triggers on views 2024-12-13 14:20:25 +01:00
Lukas Eder
e89077aa85 [jOOQ/jOOQ#16501] GeneratorStrategy::getJavaMemberOverride should be called with Mode.DAO for all member-specific fetchByXYZ methods generated in a DAO 2024-12-13 09:05:27 +01:00
Lukas Eder
07a31c55f8 [jOOQ/jOOQ#17777] Emulate multiple MERGE .. WHEN NOT MATCHED clauses 2024-12-12 16:05:16 +01:00
Lukas Eder
c67cd2429f [jOOQ/jOOQ#10059] The NotMatchedBy internal enum isnt' needed 2024-12-12 11:24:49 +01:00
Lukas Eder
f51e9e386f [jOOQ/jOOQ#10059] [jOOQ/jOOQ#10715] MERGE improvements
This includes:

- [jOOQ/jOOQ#10715] Add support for multiple MERGE .. WHEN NOT MATCHED AND { condition }
- [jOOQ/jOOQ#10059] Add support for SQL Server MERGE .. WHEN NOT MATCHED BY { SOURCE | TARGET }
2024-12-12 11:20:18 +01:00
Lukas Eder
69d0fd5691 [jOOQ/jOOQ#17770] Parser doesn't correctly parse MERGE with multiple
WHEN MATCHED clauses if the last WHEN MATCHED clause doesn't have any
AND clause
2024-12-12 10:18:18 +01:00
Lukas Eder
9fcc37ee2e [jOOQ/jOOQ#17765] Javadoc typo on MergeNotMatchedStep.whenNotMatchedThenInsert 2024-12-11 15:43:16 +01:00
Lukas Eder
fd76e92a00 [jOOQ/jOOQ#16379] Compilation error in generated Indexes.java when index
references embeddables that replace their underlying fields
2024-12-11 15:04:05 +01:00
Lukas Eder
b95d554fea [jOOQ/jOOQ#17761] Table.fieldsIncludingHidden() should include fields
from embeddables with <replacesFields/>
2024-12-11 12:54:36 +01:00
Lukas Eder
2f2a9b76d3 [jOOQ/jOOQ#17762] EmbeddableTableField::toString should render a ROW style display of the field 2024-12-11 11:35:47 +01:00
Lukas Eder
11ce2ec1cf [jOOQ/jOOQ#14005] Code generator produces wrong ordering of DataType
properties for nullable and defaulted array types
2024-12-09 19:41:11 +01:00
Lukas Eder
bf1047305b [jOOQ/jOOQ#17752] Add jdbc/urlProperty as a way to specify which system property to look up in code generation configuration for the JDBC URL 2024-12-06 14:27:07 +01:00
Lukas Eder
e496cda754 [jOOQ/jOOQ#17620] INSERT .. RETURNING TableRecords attached to wrong Configuration when AbstractDMLQuery::emulateOracleReturning is true 2024-12-06 10:48:53 +01:00
Lukas Eder
bed940da75 [jOOQ/jOOQ#11375] <globalObjectNames/> Should produce a file containing
enum literals for each enum type
2024-12-06 09:19:10 +01:00
Lukas Eder
5cc15ad602 [jOOQ/jOOQ#17747] Wrong Javadoc in <globalObjectNames/> generated classes 2024-12-06 08:43:40 +01:00
Lukas Eder
26ed6c0a03 [jOOQ/jOOQ#17745] <globalObjectNames/> should not generate empty classes 2024-12-06 08:35:35 +01:00
Lukas Eder
67fa7d02b0 [jOOQ/jOOQ#17732] Add native support for ANY_VALUE() in PostgreSQL 16+ 2024-12-05 14:58:16 +01:00
Lukas Eder
cb7785ba73 [jOOQ/jOOQ#17741] Add SQLDialect.POSTGRES_16 and SQLDialect.POSTGRES_17 2024-12-05 14:51:48 +01:00
Lukas Eder
c2d165006b [jOOQ/jOOQ#17727] KotlinGenerator should generate @Suppress(warnings)
in all generated files
2024-12-05 13:17:16 +01:00
Lukas Eder
c26ad299a6 [jOOQ/jOOQ#17733] Diff reports unnecessary ALTER SEQUENCE .. INCREMENT
BY 1 MINVALUE .. MAXVALUE .. statements between interpreted sequence and
HSQLDB MetaImpl sequence

This includes:

- [jOOQ/jOOQ#17734] Parser expects unsigned integer for sequence flags
2024-12-05 13:15:11 +01:00
Lukas Eder
7d79fab68f [jOOQ/jOOQ#9506] jgit 7 requires JDK 17 2024-12-04 16:46:27 +01:00
Lukas Eder
127a38b58c [jOOQ/jOOQ#17676] Regression when using expressions in ORDER BY clauses
of MULTISET subqueries in PostgreSQL
2024-12-04 12:49:36 +01:00
Lukas Eder
e01647ca71 [jOOQ/jOOQ#17656] ORA-01790 when inserting CLOBs with mixture of null
and non-null values into a table with auditing active
2024-12-03 17:11:41 +01:00
Lukas Eder
f2837295f7 [jOOQ/jOOQ#17703] Null-encoding converter doesn't work with PostgreSQL
nested records
2024-12-03 14:29:49 +01:00
Lukas Eder
4425706495 [jOOQ/jOOQ#17714] KotlinGenerator doesn't respect visibility modifier configuration for companion object and its contents 2024-12-03 12:13:04 +01:00
Lukas Eder
11822b1561 [jOOQ/jOOQ#17702] Don't let rawtypes leak into API! 2024-12-02 09:33:51 +01:00
Lukas Eder
55aeb55387 [jOOQ/jOOQ#17708] Wrong SQL syntax generated for empty inserts of fetched records without any touched values 2024-12-02 09:29:42 +01:00
Lukas Eder
c856b93ecd [jOOQ/jOOQ#17704] Diff reports unnecessary ALTER SEQUENCE .. START WITH
1 statement between interpreted sequence and MetaImpl sequence
2024-11-29 17:26:48 +01:00
Lukas Eder
122c1a3450 [jOOQ/jOOQ#17702] Use more rawtypes in package-private implementation
types to reduce the jar file size of the runtime library
2024-11-29 14:00:36 +01:00
Lukas Eder
6dd976b424 [jOOQ/jOOQ#17696] Diff between interpreted Meta and MetaImpl produces
unnecessary ALTER INDEX .. RENAME statements
2024-11-28 17:16:38 +01:00
Lukas Eder
9fb4a466a7 [jOOQ/jOOQ#17688] Diff should ignore irrelevant CAST on literals in
certain contexts
2024-11-28 16:28:02 +01:00
Lukas Eder
2c84060bed [jOOQ/jOOQ#17689] Excess whitespace rendered in DROP SEQUENCE 2024-11-28 16:01:26 +01:00
Lukas Eder
756d845782 [jOOQ/jOOQ#9506] More work on Migrations API:
- Fix LogPendingMojo name in annotation
- Allow for configuring dialect in Mojos
- Add BaselineMojo
- Add a way to explicitly create a baseline via API
2024-11-28 15:24:51 +01:00
Lukas Eder
77837a966b [jOOQ/jOOQ#17686] Add support for PostgreSQL's STRING_TO_ARRAY and ARRAY_TO_STRING functions 2024-11-28 13:47:40 +01:00
Lukas Eder
a7c9cee82f [jOOQ/jOOQ#9506] Rename Settings.migrationAllowsUndo to migrationAllowUndo 2024-11-28 12:55:13 +01:00
Lukas Eder
82ded123e7 [jOOQ/jOOQ#9506] More work on Migrations API:
- Remove TODO doclink for now. We'll update all the exceptions later
- Rename Settings.migrationAllowsUndo to migrationAllowUndo
- Snapshots are a commercial only feature
- Add Settings.migrationAllowInvalidCommits
- Improve invalid commit exception message
- GitCommitProvider message uncommitted-and-untracked
2024-11-28 11:52:17 +01:00
Lukas Eder
2991aa3824 [jOOQ/jOOQ#17684] Add Javadoc to XJC generated enum types and literals 2024-11-28 10:49:02 +01:00
Lukas Eder
1817dfaf39 [jOOQ/jOOQ#17677] Copy paste error 2024-11-27 17:09:04 +01:00
Lukas Eder
87bdd75cca [jOOQ/jOOQ#17677] Add more context information to "Ambiguous key name"
warning in code generator
2024-11-27 17:03:36 +01:00
Lukas Eder
353149bf9c [jOOQ/jOOQ#9506] Fix NPE arising from exception message 2024-11-27 17:03:22 +01:00
Lukas Eder
800b4e6dd8 [jOOQ/jOOQ#17683] Add an additional code generation flag to turn off many-to-many relationship generation 2024-11-27 16:20:17 +01:00
Lukas Eder
bdec0019fd [jOOQ/jOOQ#17681] Compilation error in generated many-to-many paths when
turning off <implicitJoinPathsToOne/>
2024-11-27 16:07:44 +01:00
Lukas Eder
28073bbaa2 [jOOQ/jOOQ#17677] Add more context information to "Ambiguous key name"
warning in code generator
2024-11-27 15:50:10 +01:00
Lukas Eder
32d6e26f73 [jOOQ/jOOQ#9506] Better error message when doing illegal edits 2024-11-27 14:32:30 +01:00