Commit Graph

11554 Commits

Author SHA1 Message Date
Lukas Eder
09061658da [jOOQ/jOOQ#10212] Improve DAO interaction 2022-09-20 11:13:57 +02:00
Lukas Eder
c43f0ff06d [jOOQ/jOOQ#10212] Fixed some embeddable regressions 2022-09-20 11:04:21 +02:00
Lukas Eder
b26a5c60c8 [jOOQ/jOOQ#10212] Add options to generate non-null attributes on Records, Pojos, and interfaces in KotlinGenerator
This includes:

- [jOOQ/jOOQ#14002] KotlinGenerator shouldn't generate public default constructor if non-nullable attributes are generated on records
2022-09-20 10:52:03 +02:00
Lukas Eder
df280031ea [jOOQ/jOOQ#14000] Revert the feature
My kotlin-fu didn't help much in getting this right, today...
2022-09-19 19:38:57 +02:00
Lukas Eder
cfd5946cae [jOOQ/jOOQ#14000] Fix ClassCastException 2022-09-19 18:47:20 +02:00
Lukas Eder
bbb6e8e18b [jOOQ/jOOQ#14000] Fix compilation error 2022-09-19 18:44:34 +02:00
Lukas Eder
d8ea360c55 [jOOQ/jOOQ#14000] Fix compilation error 2022-09-19 18:43:24 +02:00
Lukas Eder
3d4a9812aa [jOOQ/jOOQ#14000] Relax extension functions in jOOQ-kotlin for Field<Boolean> to accept Field<out Boolean?> instead 2022-09-19 17:35:41 +02:00
Lukas Eder
1629cb2751 [jOOQ/jOOQ#12934] Add jOOQ-kotlin extension methods to help ignore nullability when mapping 2022-09-19 15:16:43 +02:00
Lukas Eder
03a51efeb9 [jOOQ/jOOQ#13995] Improve documentation on Fields lookup methods 2022-09-16 16:37:58 +02:00
Lukas Eder
7a67b9ab7a [jOOQ/jOOQ#9720] Regenerated class 2022-09-16 15:08:39 +02:00
Lukas Eder
1f9518f685 [jOOQ/jOOQ#9720] Support logical XOR operator 2022-09-16 14:58:35 +02:00
Lukas Eder
11723a10b1 [jOOQ/jOOQ#13993] Wrong value returned from NullCondition::isNullable 2022-09-16 14:50:56 +02:00
Lukas Eder
55280e33ff Why does javac 8 hate this particular line so much... 2022-09-16 11:26:07 +02:00
Lukas Eder
1598ad703b [jOOQ/jOOQ#12033] Add MULTISET_AGG(DISTINCT ...) aggregate and window function support 2022-09-16 10:10:23 +02:00
Lukas Eder
50e49ad66e This stupid Java 8 compiler bug again... 2022-09-14 13:48:55 +02:00
Lukas Eder
5b4a3b0cb2 [jOOQ/jOOQ#12045] Simplified MULTISET emulation with DISTINCT
Thanks to [jOOQ/jOOQ#10730], we can now also implement the simplified
MULTISET emulation with subqueries containing the DISTINCT clause
2022-09-14 13:00:39 +02:00
Lukas Eder
e913ce8d76 [jOOQ/jOOQ#10730] Add support for JSON_ARRAYAGG(DISTINCT)
This includes:

- [jOOQ/jOOQ#13986] Add support for Db2 11.1 LISTAGG(DISTINCT)
2022-09-14 12:43:07 +02:00
Lukas Eder
d0cef8f285 [jOOQ/jOOQ#12045] Fixed typo 2022-09-14 09:59:22 +02:00
Lukas Eder
42aecb3715 [jOOQ/jOOQ#12045] Attempted Java 8 fix 2022-09-13 20:04:04 +02:00
Lukas Eder
16c3d7d034 [jOOQ/jOOQ#12045] Support correlating MULTISET operators in dialects that can't correlated subqueries from derived tables 2022-09-13 17:30:21 +02:00
Lukas Eder
90d083a9f9 [jOOQ/jOOQ#13974] ParsingConnection doesn't correctly relay Statement::getResultSet, Statement::getUpdateCount, or Statement::getMoreResults on static Statement 2022-09-13 15:06:16 +02:00
Lukas Eder
6061630ba2 [jOOQ/jOOQ#252] Avoid unnecessary import 2022-09-13 14:41:59 +02:00
Lukas Eder
c5dd770fca [jOOQ/jOOQ#252] Refactor some PG_CATALOG queries 2022-09-13 11:39:09 +02:00
Lukas Eder
6f262cd3a0 [jOOQ/jOOQ#252] Added a comment about PG's understanding of ∅ arrays 2022-09-13 08:35:54 +02:00
Lukas Eder
c2be215b9f [jOOQ/jOOQ#252] More fixes
- Replaced int based PostgresUtils state machine by enum based one
- Support parsing nested arrays in toPGObjectOrArray()
- Handle {{}} case, which isn't supported in PG
- Code generation support for multi dimensional arrays in UDTs (Java)
2022-09-12 16:54:21 +02:00
Lukas Eder
e25723afa7 [jOOQ/jOOQ#13971] Add DataType.array() as a DSL style shortcut for
getArrayDataType()
2022-09-09 17:45:58 +02:00
Lukas Eder
c204c57010 [jOOQ/jOOQ#13957] Avoid import in OSS edition 2022-09-09 17:45:47 +02:00
Lukas Eder
b2d61f8b37 [jOOQ/jOOQ#13957] Add support for Oracle associative array of object
types as IN parameter
2022-09-09 17:04:56 +02:00
Lukas Eder
95e54dfa32 [jOOQ/jOOQ#252] Avoid static import of DSL.repeat() in OSS edition 2022-09-09 14:59:21 +02:00
Lukas Eder
22ff04a09d [jOOQ/jOOQ#252] Avoid static import of DSL.repeat() in OSS edition 2022-09-09 13:40:26 +02:00
Lukas Eder
0a259e6731 [jOOQ/jOOQ#252] Fix scala generation 2022-09-09 12:57:43 +02:00
Lukas Eder
b9ef00717e [jOOQ/jOOQ#252] Generate deepHashCode as well 2022-09-09 12:41:29 +02:00
Lukas Eder
491f9a3aad [jOOQ/jOOQ#252] Generate Arrays.deepToString() 2022-09-09 10:49:34 +02:00
Lukas Eder
6216c6920a [jOOQ/jOOQ#252] Support length/precision/scale for multidim arrays
This includes:

- [jOOQ/jOOQ#13973] Add DataType.getArrayBaseDataType() and
getArrayBaseType()
2022-09-09 10:44:38 +02:00
Lukas Eder
42d262920a [jOOQ/jOOQ#252] Added code generation support (WIP)
This includes:

- [jOOQ/jOOQ#13970] PostgreSQL code generation fails when user defined
type starts with _
2022-09-08 20:36:45 +02:00
Lukas Eder
79ea77c896 [jOOQ/jOOQ#252] Added H2 code generation support 2022-09-08 14:09:35 +02:00
Lukas Eder
196bc03ee5 [jOOQ/jOOQ#252] Fixed inline array literals 2022-09-08 10:37:56 +02:00
Lukas Eder
30e98870b6 [jOOQ/jOOQ#13047] Make JAXB API dependency optional 2022-09-08 09:17:46 +02:00
Lukas Eder
062df8ea78 Re-generated code 2022-09-08 09:17:36 +02:00
Lukas Eder
de891d648f [jOOQ/jOOQ#13951] Fixed JSON cast for MariaDB 2022-09-07 16:20:55 +02:00
Lukas Eder
0a0113b558 Remove POSTGRES_9_4 reference also from Javadoc 2022-09-07 15:38:43 +02:00
Lukas Eder
a00a9da77d [jOOQ/jOOQ#11679] Cannot fetch inline NULL value as array type in HSQLDB 2022-09-07 15:38:19 +02:00
Lukas Eder
5b1cbabc62 [jOOQ/jOOQ#13728] Add SQLDialect.SQLITE_3_39 2022-09-06 17:06:41 +02:00
Lukas Eder
86dc93ca29 [jOOQ/jOOQ#13961] Add reference to Scope 2022-09-06 14:43:29 +02:00
Lukas Eder
df73ff3fcf [jOOQ/jOOQ#13961] Rename ScopedConverter to ContextConverter
See also [jOOQ/jOOQ#13801]
2022-09-06 12:52:17 +02:00
Lukas Eder
9c9827078c [jOOQ/jOOQ#13961] Rename scope parameter to ctx
See also [jOOQ/jOOQ#13801]
2022-09-06 12:44:06 +02:00
Lukas Eder
207ed16668 [jOOQ/jOOQ#13961] Rename ConverterScope to ConverterContext
See also [jOOQ/jOOQ#13801]
2022-09-06 12:41:25 +02:00
Lukas Eder
4a7410f4b1 [jOOQ/jOOQ#13961] Add more convenience methods
See also [jOOQ/jOOQ#13801]
2022-09-06 10:21:57 +02:00
Lukas Eder
1bf4199b32 [jOOQ/jOOQ#13961] Add ScopedConverter, a Converter subtype that receives a ConverterScope in from() and to() methods
See also [jOOQ/jOOQ#13801]
2022-09-06 09:21:27 +02:00