Commit Graph

8926 Commits

Author SHA1 Message Date
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
Lukas Eder
80c19adfa2 [jOOQ/jOOQ#10442] Wrong Javadoc on Settings.renderKeywordStyle 2020-07-28 10:19:33 +02:00
Lukas Eder
4da1c1a17a [jOOQ/jOOQ#10438] Factored out duplicate class 2020-07-28 09:55:34 +02:00
Lukas Eder
748ec93283 [jOOQ/jOOQ#10438] Support lazy conversion of built-in data types 2020-07-23 17:41:04 +02:00
Lukas Eder
af2f5bc935 [jOOQ/jOOQ#10438] Support lazy DataType lookups in DSL.val() and
DSL.inline()

This includes [jOOQ/jOOQ#9492] Deprecate static data type registry
lookups for user defined data types
2020-07-23 16:44:52 +02:00
Lukas Eder
84e8acc750 [jOOQ/jOOQ#10438] Lazy application of DataType to bind variables 2020-07-23 12:43:49 +02:00
Lukas Eder
65582520bd [jOOQ/jOOQ#10312] Converted datatype not using type from dialect after calling nullable 2020-07-23 12:43:32 +02:00
Lukas Eder
271d4ce311 [jOOQ/jOOQ#6244] More annotations 2020-07-23 12:41:34 +02:00
Lukas Eder
ff0aaa2088 [jOOQ/jOOQ#10432] Java 6 fix 2020-07-22 17:27:58 +02:00
Lukas Eder
9acb5772b4 [jOOQ/jOOQ#4941] Add LoaderListenerStep.onRowStart() for preprocessing input data 2020-07-22 16:26:32 +02:00
Lukas Eder
9e3a1dc5ec [jOOQ/jOOQ#10432] Add Settings.cachePreparedStatementsInLoader to keeping open PreparedStatements in Loader API 2020-07-22 15:34:19 +02:00
Lukas Eder
06f15008cc [jOOQ/jOOQ#10435] DSLContext.connection() and similar methods should not wrap RuntimeException in DataAccessException 2020-07-22 15:10:46 +02:00
Lukas Eder
6f4cb65f56 Cleanup 2020-07-22 14:05:53 +02:00
Lukas Eder
2da86fde7a [jOOQ/jOOQ#2752] Allow for skipping preparing statement.
If after ExecuteListener::prepareStart, ExecuteContext::statement is available, use that statement instead of preparing a new one.
2020-07-22 13:11:57 +02:00
Lukas Eder
b29e2aeefc [jOOQ/jOOQ#10425] ImmutablePOJOMapperWithParameterNames no longer injects default values for unmapped primitive arguments 2020-07-20 13:04:52 +02:00
Lukas Eder
46ad2c4fcb [jOOQ/jOOQ#10426] Use standard SQL for identity columns in H2 2020-07-20 12:21:11 +02:00
Lukas Eder
ade95b281d [jOOQ/jOOQ#10429] Make LoaderRowListener a FunctionalInterface 2020-07-20 10:36:31 +02:00
Lukas Eder
61f9818b3a [jOOQ/jOOQ#10399] Fixed CockroachDB serial column default expression 2020-07-17 17:12:33 +02:00
Lukas Eder
dd00091982 [jOOQ/jOOQ#8576] Regenerate jOOQ-meta code with
<instanceFields>true</instanceFields> - MariaDB
2020-07-17 16:54:29 +02:00
Lukas Eder
5fd997e999 [jOOQ/jOOQ#8576] More urgent deprecation warning 2020-07-17 16:51:53 +02:00
Lukas Eder
75564fb38d [jOOQ/jOOQ#8576] Regenerate jOOQ-meta code with
<instanceFields>true</instanceFields>
2020-07-17 16:33:11 +02:00
Lukas Eder
0bf32a4458 [jOOQ/jOOQ#10422] Let User and Role extend Named to give access to
quoted / unquoted and qualified / unqualified names
2020-07-17 15:14:14 +02:00
Lukas Eder
a4b54b2436 [jOOQ/jOOQ#10420] Add Context.methodIf(Arg, boolean) for an "internal if" implementation 2020-07-17 14:53:38 +02:00
Lukas Eder
d50e8bd3f6 [jOOQ/jOOQ#10365] DSL.currentTimestamp() should generate GETDATE() instead of CURRENT_BIGDATETIME() in Sybase ASE 12.5 2020-07-17 14:18:51 +02:00
Lukas Eder
9ffd882d2f [jOOQ/jOOQ#10418] GrantOnStep.on(String) and RevokeOnStep.on(String) should wrap String argument in Name 2020-07-17 12:57:28 +02:00
Lukas Eder
75579d6080 [jOOQ/jOOQ#10417] Sybase ASE cannot cast from numbers to TEXT directly 2020-07-17 11:43:23 +02:00
Lukas Eder
066d213a92 [jOOQ/jOOQ#10415] Wrong Support annotations on INTERSECT and EXCEPT for MySQL 2020-07-17 10:18:21 +02:00
Lukas Eder
8b5c0240ef [jOOQ/jOOQ#10406] WIP 2020-07-16 17:42:03 +02:00
Lukas Eder
8b22e47726 [jOOQ/jOOQ#10406] WIP 2020-07-16 14:49:47 +02:00
Lukas Eder
b16664d1ec [jOOQ/jOOQ#10408] Error in Sybase ASE INSERT .. DEFAULT VALUES emulation when used with identity column 2020-07-16 14:49:31 +02:00
Lukas Eder
5bf67a30c8 [jOOQ/jOOQ#10404] Add SQLDialect.ASE_12_5, ASE_15_5, ASE_15_7, ASE_16_0 dialects 2020-07-16 12:20:59 +02:00
Lukas Eder
fddd51b3fd [jOOQ/jOOQ#10399] Fixed Derby code generator 2020-07-16 10:34:15 +02:00