Commit Graph

8957 Commits

Author SHA1 Message Date
Lukas Eder
8be5e78a0f [jOOQ/jOOQ#6124] Fixed mix up between defining and referencing columns 2020-08-19 16:36:47 +02:00
Lukas Eder
80ed6c76d5 [jOOQ/jOOQ#8353] Generated EmbeddableRecords must reference forced type
When an embeddable's base table has converted columns (via forced type), then the embeddable record must reflect the base table column's converted data types.
2020-08-19 15:52:48 +02:00
Lukas Eder
b19246ace2 [jOOQ/jOOQ#10481] Added getters and setters for embeddable records in generated TableRecords 2020-08-19 15:33:43 +02:00
Lukas Eder
72c259a48a [jOOQ/jOOQ#8353] Added a warning when embeddable definitions lack fields 2020-08-19 13:19:35 +02:00
Lukas Eder
eb10240431 [jOOQ/jOOQ#10508] DSLContext.meta(Table) may contain sequences 2020-08-19 13:14:13 +02:00
Lukas Eder
5ec18c6b08 [jOOQ/jOOQ#8353] Add matcher strategy support for embeddables 2020-08-19 12:29:16 +02:00
Lukas Eder
f22c4dae62 [jOOQ/jOOQ#8029] Avoid casting timestamp precisions in Firebird 2020-08-19 12:28:57 +02:00
Lukas Eder
41e0adc7f8 [jOOQ/jOOQ#8353] Correct handling of NULL embeddable records 2020-08-19 10:44:17 +02:00
Lukas Eder
14c2fac8f0 [jOOQ/jOOQ#8353] Log warning when there are unused embeddables 2020-08-19 10:44:07 +02:00
Lukas Eder
d8a2b44e96 [jOOQ/jOOQ#2530] Schemas with embeddables are not empty 2020-08-18 15:56:24 +02:00
Lukas Eder
79396e3cc4 [jOOQ/jOOQ#2530] Added qualification support for embeddables 2020-08-18 15:41:32 +02:00
Lukas Eder
80e81e89aa [jOOQ/jOOQ#2530] Fixed defining/referencing column names in embeddables 2020-08-18 15:20:26 +02:00
Lukas Eder
c47897b514 [jOOQ/jOOQ#2530] Allow for matching tables in <embeddable/> config 2020-08-18 14:50:42 +02:00
Lukas Eder
7e03b13d49 [jOOQ/jOOQ#10498] Compilation error in generated code when there is a table called OVERRIDE 2020-08-18 10:16:39 +02:00
Lukas Eder
a3779fae88 [jOOQ/jOOQ#2530] [jOOQ/jOOQ#6124] [jOOQ/jOOQ#10481] Updated OSS edition 2020-08-18 10:06:27 +02:00
Lukas Eder
985bda87df [jOOQ/jOOQ#10497] Add parser support for the PostgreSQL CREATE INDEX ..
ON .. USING syntax
2020-08-18 09:25:31 +02:00
Lukas Eder
18957d5bee [jOOQ/jOOQ#10493] Add TemplatingException for errors that occur with plain SQL templating 2020-08-17 09:15:24 +02:00
Lukas Eder
061e425340 [jOOQ/jOOQ#2530] [jOOQ/jOOQ#6124] [jOOQ/jOOQ#10481]
Support overlapping embeddables
2020-08-14 17:13:35 +02:00
Lukas Eder
e90a9abd76 [jOOQ/jOOQ#10489] Add parser support for qualified data types in DDL and casts 2020-08-14 10:50:18 +02:00
Lukas Eder
29bce7c908 [jOOQ/jOOQ#2530] [jOOQ/jOOQ#6124] [jOOQ/jOOQ#10481] Improved embeddable support and added code generation support for embeddable keys 2020-08-12 17:11:36 +02:00
Lukas Eder
ee3bdcc6fd [jOOQ/jOOQ#9639] Apply Database::getOrderProvider to Keys.java content as well 2020-08-10 12:43:09 +02:00
Lukas Eder
e8977dfee1 [jOOQ/jOOQ#10480] Avoid generating empty header comments in Keys.java 2020-08-10 12:11:04 +02:00
Lukas Eder
9e092d1617 [jOOQ/jOOQ#10478] Add Matchers for catalogs 2020-08-10 11:36:51 +02:00
Lukas Eder
6fb7c71c3c [jOOQ/jOOQ#10150] Work around third party JDK 15 issue 2020-08-07 17:41:32 +02:00
Lukas Eder
8d9281da47 [jOOQ/jOOQ#10309] Add code generation support for arrays of domain types 2020-08-07 16:22:02 +02:00
Lukas Eder
79d60d0700 [jOOQ/jOOQ#7070] Add code generation support for PostgreSQL types referencing domains 2020-08-07 15:05:28 +02:00
Lukas Eder
f832758b7f [jOOQ/jOOQ#681] Added DOMAIN support for Firebird 2020-08-07 15:05:13 +02:00
Lukas Eder
e11b1f4b9e [jOOQ/jOOQ#7917] Use H2 1.4.198 domain qualification for enums stored as domains 2020-08-07 10:19:21 +02:00
Lukas Eder
0610d1930f [jOOQ/jOOQ#681] Added code generator support for PostgreSQL domains 2020-08-06 18:03:28 +02:00
Lukas Eder
4c0e4ba770 [jOOQ/jOOQ#681] Added code generator support for PostgreSQL domains 2020-08-06 18:03:13 +02:00
Lukas Eder
d6d904c943 [jOOQ/jOOQ#10472] Supplier must be serializable 2020-08-06 17:41:16 +02:00
Lukas Eder
c1a4986a39 [jOOQ/jOOQ#681] Added code generator support for H2 domains 2020-08-06 17:10:32 +02:00
Lukas Eder
e611c4e46b [jOOQ/jOOQ#10472] Add LazySchema and LazyCatalog to allow for lazy referencing a schema or catalog in generated code 2020-08-06 16:51:25 +02:00
Lukas Eder
0b12538c34 [jOOQ/jOOQ#10467] PostgresUtils.toPGArray does not handle escaped quotes
This also fixes [jOOQ/jOOQ#6819]
2020-08-05 12:22:55 +02:00
Lukas Eder
1fb4ee3cf0 [jOOQ/jOOQ#10466] Code generator fails with
ArrayIndexOutOfBoundsException for Index..Include statements
2020-08-05 11:50:23 +02:00
Lukas Eder
da51a12265 [jOOQ/jOOQ#10463] Configuration log level is ignored by GenerationTool for first log statements 2020-08-05 11:24:11 +02:00
Lukas Eder
4e06508d90 [jOOQ/jOOQ#10461] INSERT .. ON DUPLICATE KEY IGNORE emulation using
MERGE should support multi value inserts
2020-07-29 17:22:17 +02:00
Lukas Eder
98e3df20d2 [jOOQ/jOOQ#7342] Field.as(Field) and Table.as(Table) should inherit alias-defining Named's quoted flag 2020-07-29 16:32:35 +02:00
Lukas Eder
bc4f4e1759 [jOOQ/jOOQ#10460] Use MERGE to emulate INSERT .. ON DUPLICATE KEY IGNORE
in H2
2020-07-29 16:19:04 +02:00
Lukas Eder
971ed06be9 [jOOQ/jOOQ#2230] Added HSQLDB support for interval types 2020-07-29 13:25:19 +02:00
Lukas Eder
a159800f89 [jOOQ/jOOQ#10459] Empty GROUP BY emulation stops working in HSQLDB 2.5.1 2020-07-29 13:24:46 +02:00
Lukas Eder
1e1d3a7c91 [jOOQ/jOOQ#10456] Add static YearToMonth and DayToSecond.<intervalType>(String) constructor methods 2020-07-29 10:45:02 +02:00
Lukas Eder
99d8c5df29 [jOOQ/jOOQ#2230] Parse and render INTERVAL literals as H2 bind values 2020-07-28 17:03:27 +02:00
Lukas Eder
1b3158674a [jOOQ/jOOQ#10453] Support parsing additional standard interval literals 2020-07-28 16:50:51 +02:00
Lukas Eder
964f6fcc1e [jOOQ/jOOQ#10444] PostgreSQL code generation is incorrect when two
tables share check constraint name
2020-07-28 15:48:01 +02:00
Lukas Eder
c3f404b046 [jOOQ/jOOQ#2230] H2 code generation support for interval types
This includes: [jOOQ/jOOQ#10451] Use H2 native interval arithmetic instead of DATEADD emulation
2020-07-28 14:56:00 +02:00
Lukas Eder
ca2f784d3d [jOOQ/jOOQ#9188] Cannot use DayToSecond intervals in H2, for
intervals bigger than 99 days
2020-07-28 14:47:57 +02:00
Lukas Eder
96b3970eb4 [jOOQ/jOOQ#6244] Make Jetbrains annotations dependency optional/provided 2020-07-28 12:18:19 +02:00
Lukas Eder
aafbf062c9 [jOOQ/jOOQ#10448] Firebird arithmetic exception, numeric overflow, or
string truncation; numeric value is out of range, when using
Field.add(DayToSecond) with large millisecond numbers
2020-07-28 11:22:52 +02:00
Lukas Eder
6540028c02 [jOOQ/jOOQ#10447] Refactor some internal duplicate logic 2020-07-28 10:50:04 +02:00