Commit Graph

10916 Commits

Author SHA1 Message Date
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
Lukas Eder
0c4d021614 [jOOQ/jOOQ#12992] Add additional check if any indexes are present 2022-02-07 10:09:38 +01:00
Lukas Eder
9ddf8e96c3
Merge pull request #12990 from perlun/patch-1
Fix typo in javadoc
2022-02-04 14:54:18 +01:00
Lukas Eder
40fca506b6
Merge pull request #12993 from perlun/fix/auto-enable-tables-if-indexes-are-enabled
[jOOQ/jOOQ#12992] Automatically enable table generation if indexes are enabled
2022-02-04 14:41:44 +01:00
Per Lundberg
287daba8bb [jOOQ/jOOQ#12992] Automatically enable tables if indexes are enabled 2022-02-04 15:00:09 +02:00
Per Lundberg
91e20f4d2c
Fix typo in javadoc 2022-02-04 14:16:51 +02:00
Lukas Eder
ac6a63dab2
Merge pull request #12982 from jOOQ/dependabot/maven/jOOQ-examples/jOOQ-spark-chart-example/org.postgresql-postgresql-42.2.25
Bump postgresql from 42.2.8 to 42.2.25 in /jOOQ-examples/jOOQ-spark-chart-example
2022-02-02 16:06:10 +01:00
Lukas Eder
83bf54e09f
Merge pull request #12976 from jOOQ/dependabot/maven/org.postgresql-postgresql-42.3.2
Bump postgresql from 42.3.0 to 42.3.2
2022-02-02 16:03:33 +01:00
dependabot[bot]
2c8154b6dd
Bump postgresql in /jOOQ-examples/jOOQ-spark-chart-example
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.8 to 42.2.25.
- [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.2.8...REL42.2.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02 15:01:25 +00:00
Lukas Eder
d7444caf61 [jOOQ/jOOQ#12979] Upgrade pgjdbc to 42.3.2 due to CVE-2022-21724 2022-02-02 16:01:00 +01:00
dependabot[bot]
36f6757b48
Bump postgresql from 42.3.0 to 42.3.2
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.0 to 42.3.2.
- [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.0...REL42.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02 01:19:47 +00:00
Lukas Eder
8f57fa3b46 [jOOQ/jOOQ#12973] Add Traversers.containing(Predicate<? super QueryPart>) 2022-01-28 14:01:11 +01:00
Lukas Eder
f340e9c377 [jOOQ/jOOQ#12963] Revert fix in MySQL, for now 2022-01-28 10:08:19 +01:00
Lukas Eder
980d7ea535 [jOOQ/jOOQ#12970] jOOQ Open Source Edition does not generate routine
with long name
2022-01-28 10:07:35 +01:00
Lukas Eder
564fbb601b [jOOQ/jOOQ#12966] NullPointerException in MetaDataFieldProvider when
reading plain SQL column without a name in MySQL
2022-01-27 14:50:31 +01:00
Lukas Eder
8349672e57 [jOOQ/jOOQ#12951] Don't connect to JDBC without a configured URL 2022-01-27 14:42:25 +01:00
Lukas Eder
206f783837 [jOOQ/jOOQ#12963] Packet for query is too large (4,000,066 > 1,048,576) when inserting binary data into a BLOB column in MySQL 2022-01-27 14:09:01 +01:00
Lukas Eder
57e6ff9f19 [jOOQ/jOOQ#12955] Wrong code generated for identity columns in H2 1.4 2022-01-27 13:31:41 +01:00
Lukas Eder
2802dc2607 [jOOQ/jOOQ#12956] Can no longer store/retrieve blob data exceeding 1M in H2 2.0 2022-01-27 10:45:49 +01:00
Lukas Eder
a18294daf4 [jOOQ/jOOQ#12951] GenerationTool should handle HSQLDB driver returning
null Connection on Driver::connect
2022-01-26 10:16:20 +01:00
Lukas Eder
5dd3e641c8 [jOOQ/jOOQ#12036] ¨Timestamp Arithmetic fails with ConvertedDataType 2022-01-25 17:17:51 +01:00
Lukas Eder
736ce26f91 [jOOQ/jOOQ#12945] Add Field<Result<Record[N]>>.mapping(Function[N]<T[N], E>): Field<List<E>> kotlin extension functions 2022-01-25 17:17:36 +01:00
Lukas Eder
4f29c8db5a [jOOQ/jOOQ#8653] Add support for parsing VALUES <row value special case>, ... 2022-01-25 13:18:12 +01:00
Lukas Eder
fba49acfc8 [jOOQ/jOOQ#12931] DAOImpl#deleteById(Collection<T>) ignores Converter 2022-01-25 10:33:49 +01:00
Lukas Eder
a0cdd63e54 [jOOQ/jOOQ#12929] NullPointerException when mapping NULL nested ROW from
scalar subquery
2022-01-24 16:11:05 +01:00
Lukas Eder
b851863c22 [jOOQ/jOOQ#12883] Add support for Informix NullCondition 2022-01-24 12:52:43 +01:00
Lukas Eder
042c34a19d [jOOQ/jOOQ#12910] Fix empty grouping emulations for various dialects 2022-01-24 12:00:00 +01:00
Lukas Eder
beca93b811 [jOOQ/jOOQ#12925] Only do this for MERGE and emulated MERGE 2022-01-24 10:33:28 +01:00
Lukas Eder
121b2ee475 [jOOQ/jOOQ#12925] Work around H2 issue 3398 which hangs the process when using FINAL TABLE (MERGE ...) 2022-01-24 10:13:53 +01:00
Lukas Eder
3829c4e9d1
Merge pull request #12922 from jOOQ/dependabot/maven/com.h2database-h2-2.1.210
Bump h2 from 2.0.206 to 2.1.210
2022-01-24 08:39:10 +01:00