Commit Graph

10589 Commits

Author SHA1 Message Date
Lukas Eder
27d911dede [jOOQ/jOOQ#12583] Generate DAO.fetchOptionalBy[Column] methods 2021-11-01 13:58:31 +01:00
Lukas Eder
c4afb5c889 [jOOQ/jOOQ#12583] Add DAO.findOptionalById() 2021-11-01 13:31:50 +01:00
Lukas Eder
bf17bef951 [jOOQ/jOOQ#9864] Add support for readonly columns (WIP) 2021-11-01 13:21:51 +01:00
Lukas Eder
1a015852d7 [jOOQ/jOOQ#12582] ControlFlowSignal should use Throwable(String, Throwable, boolean, boolean) super constructor 2021-11-01 11:58:37 +01:00
Lukas Eder
e14fea1008 [jOOQ/jOOQ#9864] Fix DataTypeProxy 2021-10-29 16:41:04 +02:00
Lukas Eder
9de6ba83de [jOOQ/jOOQ#9864] Add support for readonly columns
- Added synthetic readonly column codegen config
- Added code generation logic
- Added DataTypeDefinition.readonly()
- Added DataType.readonly()
2021-10-29 16:24:01 +02:00
Lukas Eder
0c7c6c16dc [jOOQ/jOOQ#12557] Add support for unwrapping Optional types in DefaultConverterProvider 2021-10-29 13:48:10 +02:00
Lukas Eder
942697a219 Log jOOQ logo earlier in code generator 2021-10-29 13:25:07 +02:00
Lukas Eder
89577eedc8 [#12425] Fix regression 2021-10-29 12:56:05 +02:00
Lukas Eder
dddee18ef4 [jOOQ/jOOQ#11834] Fixed api.xml 2021-10-29 11:11:59 +02:00
Lukas Eder
a32222163c [jOOQ/jOOQ#12574] Add ExecuteContext::resultLevel and ::recordLevel to indicate the Result and Record nesting level 2021-10-29 10:18:33 +02:00
Lukas Eder
a53a981331 [jOOQ/jOOQ#12564] Exception in LoggerListener when projecting top level
row(...).mapping()
2021-10-28 18:04:48 +02:00
Lukas Eder
cffaf5f017 [jOOQ/jOOQ#11834] Fixed emulation formatting (to some extent) 2021-10-28 15:20:39 +02:00
Lukas Eder
25ac74245b [jOOQ/jOOQ#11834] Let Table<?> extend GroupField 2021-10-28 13:01:27 +02:00
Lukas Eder
69fd5c2b35 [jOOQ/jOOQ#11834] Fix support 2021-10-28 12:54:28 +02:00
Lukas Eder
4f5624499d [jOOQ/jOOQ#12568] Connection leak when ExecuteListener::fetchEnd throws an exception 2021-10-28 11:19:43 +02:00
Lukas Eder
3733dce111 [jOOQ/jOOQ#12566] JDBCUtils::safeClose methods should debug log stack traces 2021-10-28 10:29:51 +02:00
Lukas Eder
404ea8eddb [jOOQ/jOOQ#11834] Let Table<?> extend GroupField 2021-10-27 18:07:02 +02:00
Lukas Eder
2fba034f2b [jOOQ/jOOQ#12425] Generate equals based on QOM API type, not impl type 2021-10-27 14:36:52 +02:00
Lukas Eder
57f874309b [#12425] [#12561] Re-generate imports 2021-10-27 14:21:53 +02:00
Lukas Eder
3f0e0cf7a7 [#12425] [#12561] Fix ROWNUM transformation
ROWNUM transformation doesn't work when projecting an expression containing ROWNUM. This fix also refactors arithmetic Expressions to their own classes, including internal IAdd, ISub, IMul, IDiv for the unneeded arithmetic transformation (further refactorings scheduled)
2021-10-27 14:21:36 +02:00
Lukas Eder
d5a586c767 [#12425] [#12561] Fix ROWNUM transformation
ROWNUM transformation doesn't work when projecting an expression containing ROWNUM. This fix also refactors arithmetic Expressions to their own classes, including internal IAdd, ISub, IMul, IDiv for the unneeded arithmetic transformation (further refactorings scheduled)
2021-10-27 14:13:12 +02:00
Lukas Eder
0160a761f7 [jOOQ/jOOQ#12425] Rename Plus to PlusJoin. Plus should be for arithmetic 2021-10-27 11:11:26 +02:00
Lukas Eder
33b96c3a96 [jOOQ/jOOQ#12561] Refactor ROWNUM transformation to use QOM::replace 2021-10-27 11:02:41 +02:00
Lukas Eder
acecc29d56 [jOOQ/jOOQ#12469] InlineDerivedTable shouldn't inline when used in outer joins 2021-10-26 17:31:21 +02:00
Lukas Eder
6201061ac1 [jOOQ/jOOQ#12231] Don't upgrade dependency just yet 2021-10-26 14:20:58 +02:00
Lukas Eder
72cab71578 [jOOQ/jOOQ#12231] Add support for enums in PostgreSQL R2DBC 2021-10-26 14:16:07 +02:00
Lukas Eder
c81cf7bd59 [jOOQ/jOOQ#11670] Add support for GROUP BY DISTINCT 2021-10-26 12:37:12 +02:00
Lukas Eder
1fe17ecbaa [jOOQ/jOOQ#12322] Add support for SQLDialect.POSTGRES_14
- Added dialect
- Added native support for the BIT_XOR() aggregate function
2021-10-26 11:33:21 +02:00
Lukas Eder
ea92d0d546 Upgrade pgjdbc 2021-10-25 17:02:01 +02:00
Lukas Eder
9900746b6f [jOOQ/jOOQ#12549] [jOOQ/jOOQ#12086] Refactor common logic 2021-10-25 17:01:54 +02:00
Lukas Eder
4d3c623f38 [jOOQ/jOOQ#12538] What was I thinking � 2021-10-25 13:58:39 +02:00
Lukas Eder
63afa3ebdd [jOOQ/jOOQ#12425] Fix regression in NullTreatment implementation
The splitting of window functions into individual classes has introduced
a regression in the implementation of NullTreatment in all non-Db2
implementations.
2021-10-25 13:43:39 +02:00
Lukas Eder
466b0aeaee Use CURRENT_TIMESTAMP instead of CURTIME 2021-10-25 09:25:35 +02:00
Lukas Eder
3f38845132
Use CURRENT_TIMESTAMP instead of CURTIME
In MariaDB, `UNIX_TIMESTAMP(CURTIME(4))` yields `NULL`, not a meaningful value. It's better to work with `TIMESTAMP` anyway, than with `TIME` types, just in case the benchmark is run at midnight
2021-10-25 09:24:10 +02:00
Lukas Eder
00622b5be3 [jOOQ/jOOQ#12549] Use JSON_EXTRACT() instead of JSON_QUERY() 2021-10-25 09:22:38 +02:00
Lukas Eder
f7a86f1cdd [jOOQ/jOOQ#12549] Wrong JSON_MERGE_PRESERVE function generated when embedding JSON in MULTISET in MariaDB and MySQL 2021-10-22 17:59:17 +02:00
Lukas Eder
57cabbb05a [jOOQ/jOOQ#12544] Field<Instant>.div(int) regression for Instant fields that have a converter 2021-10-22 17:28:38 +02:00
Lukas Eder
7f4cb85f00 [jOOQ/jOOQ#12425] Fixed regression in CREATE DOMAIN 2021-10-22 15:54:43 +02:00
Lukas Eder
e9a00e50ed [jOOQ/jOOQ#12538] Added execution test, removed regex experiments 2021-10-22 15:35:14 +02:00
Lukas Eder
fc319a6c63 [jOOQ/jOOQ#12538] Ignore IgnoreQuery in interpreter 2021-10-22 15:21:59 +02:00
Lukas Eder
b137555926 [jOOQ/jOOQ#12538] Cache regex 2021-10-22 15:18:23 +02:00
Lukas Eder
4f5f714a89 [jOOQ/jOOQ#12538] Better whitespace handling 2021-10-22 15:15:23 +02:00
Lukas Eder
3886fdd679 [jOOQ/jOOQ#12545] Lenient support for H2's time zone format 2021-10-22 11:35:43 +02:00
Lukas Eder
11425c8a73 [jOOQ/jOOQ#12425] Work around weird javac 8 compiler bug
This class uses a lot of fully qualified types, because of some javac
bug In Java 1.8.0_302, which hasn't been analysed and reproduced yet in
a more minimal example. Without the qualification, the types cannot be
found despite being imported
2021-10-22 11:07:51 +02:00
Lukas Eder
c6d89c78e0 [jOOQ/jOOQ#10149] Duh exports, not opens! 2021-10-21 16:27:05 +02:00
Lukas Eder
e3f1d44d65 [jOOQ/jOOQ#12543] ParserCLI interactive mode can't handle leading /* comment block 2021-10-21 16:07:37 +02:00
Lukas Eder
602a66536e Revert some IntelliJ inspection improvements
The inspection held true only for the commercial distribution, which is also the dev distribution, not for the OSS edition
2021-10-21 15:59:10 +02:00
Lukas Eder
3502d03347 [jOOQ/jOOQ#12407] Added reference to YugabyteDatabase in XSD 2021-10-21 15:54:25 +02:00
Lukas Eder
701b9c3b98 [jOOQ/jOOQ#12538] Add Settings.parseRetainCommentsBetweenQueries 2021-10-21 15:40:02 +02:00