Commit Graph

10945 Commits

Author SHA1 Message Date
Lukas Eder
6a78fb2000 [jOOQ/jOOQ#13085] Field.sortAsc() should not hard wire NULLS FIRST behaviour 2022-02-16 15:08:58 +01:00
Lukas Eder
e8b125ffa3 [jOOQ/jOOQ#13069] Support aliasing the child table 2022-02-16 14:24:25 +01:00
Lukas Eder
67b0159023 [jOOQ/jOOQ#13081] Cannot use H2 enum values in JSON documents 2022-02-16 12:22:36 +01:00
Lukas Eder
d1d8d3205a [jOOQ/jOOQ#13069] Add internal API to OSS edition
It is much easier to manage code generation tests and examples if the internal API is available also to the OSS edition, preventing compilation errors when porting commercially generated code to the OSS edition.
2022-02-16 12:08:06 +01:00
Lukas Eder
05d9cc34f6 [jOOQ/jOOQ#13082] SQL Server MULTISET as JSON emulation of empty subquery produces NULL instead of empty Result 2022-02-16 12:01:17 +01:00
Lukas Eder
47e7e2dacf [jOOQ/jOOQ#13080] MULTISET emulation using XML produces a null Result 2022-02-16 11:25:38 +01:00
Lukas Eder
353a1b415c [jOOQ/jOOQ#13078] Add internal Tools.CONFIG as a convenience for Tools.CTX.configuration() 2022-02-16 08:36:47 +01:00
Lukas Eder
4e20c95e33 [jOOQ/jOOQ#13069] Avoid generating commercial-only code 2022-02-16 08:24:41 +01:00
Lukas Eder
a2371ac01d Reference {postgres.version} variable from parent pom.xml 2022-02-16 08:24:28 +01:00
Lukas Eder
0b253e74ea
Merge pull request #13077 from jOOQ/dependabot/maven/org.postgresql-postgresql-42.3.3
Bump postgresql from 42.3.2 to 42.3.3
2022-02-16 08:19:25 +01:00
dependabot[bot]
99a5d02785
Bump postgresql from 42.3.2 to 42.3.3
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.2 to 42.3.3.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.2...REL42.3.3)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 01:20:02 +00:00
Lukas Eder
b8f1d35876 [jOOQ/jOOQ#13069] Generate convenience methods for common MULTISET and ROW nestings 2022-02-15 16:41:25 +01:00
Lukas Eder
dbd7b51daa [jOOQ/jOOQ#13072] Remove experimental status on Row[N].mapping(Function[N]) 2022-02-15 09:16:55 +01:00
Lukas Eder
be001af097 [jOOQ/jOOQ#12533] Move more Internal annotation usage to JetBrains 2022-02-15 09:07:27 +01:00
Lukas Eder
19f56d553e [jOOQ/jOOQ#13071] Deprecate the org.jooq.Internal annotation 2022-02-15 08:55:57 +01:00
Lukas Eder
c086c93e24 [jOOQ/jOOQ#13070] Change Function[N] to be non-experimental 2022-02-15 08:43:53 +01:00
Lukas Eder
c64f5e9344 [jOOQ/jOOQ#12533] Move more Internal annotation usage to JetBrains 2022-02-15 08:41:01 +01:00
Lukas Eder
0846133b6f [jOOQ/jOOQ#12757] Seal TableLike 2022-02-14 12:38:23 +01:00
Lukas Eder
eedd7271cd [jOOQ/jOOQ#13068] Change selectFrom(Table<R>) methods to selectFrom(TableLike<R>) 2022-02-14 12:26:48 +01:00
Lukas Eder
eb73c795d7 [jOOQ/jOOQ#13063] Upgrade the jooq-codegen-3.17.0.xsd version 2022-02-14 11:37:18 +01:00
Lukas Eder
4e3801283a [jOOQ/jOOQ#13060] Typo in Records.intoArray(Class) Javadoc 2022-02-11 17:50:44 +01:00
Lukas Eder
49857496a7 [jOOQ/jOOQ#8640] Don't throw exceptions when INSERT .. ON DUPLICATE KEY cannot be emulated 2022-02-11 16:13:14 +01:00
Lukas Eder
cf4a46cd83 [jOOQ/jOOQ#13058] NullPointerException when using CAST(x AS
user-defined-type) with SQLDialect.JAVA
2022-02-11 15:59:14 +01:00
Lukas Eder
2b67cabc2c [jOOQ/jOOQ#8640] Don't throw an exception for SEQ.CURRVAL in Derby 2022-02-11 14:10:36 +01:00
Lukas Eder
1f1831fbcd [jOOQ/jOOQ#13054] java.lang.IllegalArgumentException: Cannot create a
VALUES() constructor with an empty set of rows when using
JSON_ARRAY(ABSENT ON NULL) in PostgreSQL
2022-02-11 13:59:14 +01:00
Lukas Eder
86913f438b [jOOQ/jOOQ#13048] Settings.parseRetainCommentsBetweenQueries doesn't
work for the last comment
2022-02-11 10:42:25 +01:00
Lukas Eder
50353904df [jOOQ/jOOQ#13033] Added missing class 2022-02-10 15:29:44 +01:00
Lukas Eder
8b9a72a7c4 [jOOQ/jOOQ#13043] Avoid generating H2 NUMBER type alias for NUMERIC
types
2022-02-10 15:29:07 +01:00
Lukas Eder
05c41bf90b [jOOQ/jOOQ#11722] Code generator cannot handle tables from other schemas than PUBLIC referencing H2 enum domain types 2022-02-10 14:53:56 +01:00
Lukas Eder
ed9f11659e [jOOQ/jOOQ#13033] DSL.function not replacing schema for function call in generated SQL
This includes:
- [jOOQ/jOOQ#13034] SchemaMapping should apply Settings.defaultCatalog even if Settings.defaultSchema doesn't apply
- [jOOQ/jOOQ#13035] SchemaMapping should cache result of Settings.defaultCatalog or Settings.defaultSchema application
2022-02-10 10:40:16 +01:00
Lukas Eder
9c1a9a2bb3 [jOOQ/jOOQ#13031] Add a rootPath property to the LiquibaseDatabase
configuration for the FileSystemResourceAccessor
2022-02-09 18:06:47 +01:00
Lukas Eder
fe9e8854ea [jOOQ/jOOQ#12977] Correctly sequence close() call and completion delegation 2022-02-09 16:27:26 +01:00
Lukas Eder
00fcb99d83 [jOOQ/jOOQ#13029] Revert fix for [jOOQ/jOOQ#11309] 2022-02-09 14:46:39 +01:00
Lukas Eder
14db133b38 [jOOQ/jOOQ#13029] Fix regression 2022-02-09 14:43:19 +01:00
Lukas Eder
842988c989 [jOOQ/jOOQ#13029] Fix also DataType::getCastTypeName 2022-02-09 14:05:04 +01:00
Lukas Eder
e707d8a84a [jOOQ/jOOQ#13029] SQLDataType.XYZ.getArrayDataType().getTypeName() should produce standard SQL XYZ ARRAY type 2022-02-09 13:57:28 +01:00
Lukas Eder
560f2af5fd [jOOQ/jOOQ#12608] Support referencing the same embeddable type multiple times per table
This includes:

- [jOOQ/jOOQ#13028] Generated DAOs should use an embeddable's referencingName, not name for the fetchByXYZ() and fetchRangeOfXYZ() methods
2022-02-09 12:48:27 +01:00
Lukas Eder
a5866497db [jOOQ/jOOQ#13023] Record.formatJSON(Writer) and Record.formatXML(Writer)
should flush the writer
2022-02-09 10:46:52 +01:00
Lukas Eder
496faf7489 [jOOQ/jOOQ#13013] Interpreter does not correctly interpret CREATE INDEX
.. WHERE

This includes:

- [jOOQ/jOOQ#12428] DDL export no longer exports INDEX WHERE clause
2022-02-08 13:48:13 +01:00
Lukas Eder
1d5c8c2ccf [jOOQ/jOOQ#13008] Compilation error in KotlinGenerator output when implicit join path cache conflicts with keyword 2022-02-08 13:47:52 +01:00
Lukas Eder
6063896ec0
Merge pull request #13010 from owyke/another-solution-to-kotlin-code-gen-issue
[#13008] Unquote keyword when mapping one to many relation
2022-02-08 13:42:58 +01:00
Lukas Eder
16ca895637 [jOOQ/jOOQ#9768] Support MySQL inline INDEX specifications in DDLDatabase 2022-02-08 10:57:03 +01:00
Lukas Eder
d5c55edf62
Merge pull request #13012 from perlun/patch-1
[jOOQ/jOOQ#12992] Add contributor
2022-02-08 10:24:16 +01:00
Per Lundberg
05f4f2ab90
[jOOQ/jOOQ#12992] Add contributor
I missed to add this in #12993.
2022-02-08 11:10:53 +02:00
Lukas Eder
f5b875a5d7 [jOOQ/jOOQ#6133] Added parser support 2022-02-08 08:57:34 +01:00
Lukas Eder
cd28e938f6 [jOOQ/jOOQ#13003] Restore storage() Javadoc
Also, add some import declarations in the generated XYZStep types to benefit Javadoc
2022-02-08 08:37:38 +01:00
Lukas Eder
2393afc7f2 [jOOQ/jOOQ#12772] Various improvements
- [jOOQ/jOOQ#12779] Add support for MySQL COMMENT syntax in DDLDatabase
- [jOOQ/jOOQ#12772] Added QOM.CreateTable
- [jOOQ/jOOQ#13004] Add a TableElement type, a super type of Field<?> | Constraint | Index
- [jOOQ/jOOQ#13005] Deprecate FieldOrConstraint
2022-02-07 21:10:40 +01:00
Oskar Wyke
d74d1c9655 [jOOQ#13008] Unquote keyword when mapping one to many relation 2022-02-07 16:32:13 +01:00
Lukas Eder
667416b30f [jOOQ/jOOQ#13000] Created empty stub Replacers.decomposing() 2022-02-07 11:51:58 +01:00
Lukas Eder
d5c50f9ff8 [jOOQ/jOOQ#13001] Refine Replacer Javadoc 2022-02-07 11:39:35 +01:00