Commit Graph

11566 Commits

Author SHA1 Message Date
Lukas Eder
a06bdd538f [jOOQ/jOOQ#5620] [jOOQ/jOOQ#13957] Support BOOLEAN type 2022-09-22 12:36:53 +02:00
Lukas Eder
a7554e4c96 [jOOQ/jOOQ#5620] [jOOQ/jOOQ#13957] Recurse over nested records 2022-09-22 09:41:56 +02:00
Lukas Eder
8ff789f303 [jOOQ/jOOQ#13957] Fix OSS edition compilation error 2022-09-22 08:16:24 +02:00
Lukas Eder
1a3d8aacdd [jOOQ/jOOQ#14007] Exclude SQLITE_SEQUENCE and other tables when <includeSystemTables/> is false 2022-09-21 17:48:48 +02:00
Lukas Eder
09bf6265e8 [jOOQ/jOOQ#12022] Add code generator support for MySQL's invisible columns 2022-09-21 17:34:09 +02:00
Lukas Eder
ec0608399e [jOOQ/jOOQ#13182] Improve formatting XMLATTRIBUTES 2022-09-21 16:40:40 +02:00
Lukas Eder
2015e67ebf [jOOQ/jOOQ#14006] Add ResultQuery<Record2<T1, T2>>.fetchMap() and fetchGroups() extension methods to jOOQ-kotlin 2022-09-21 14:14:13 +02:00
Lukas Eder
0eb91e9ff4 [jOOQ/jOOQ#13957] Support arbitrary associative array in parameters 2022-09-21 12:52:51 +02:00
Lukas Eder
b8017d917c [jOOQ/jOOQ#14003] Compilation error in generated code when combining
<pojos/>, <interfaces/> and <embeddables/>
2022-09-21 12:52:38 +02:00
Lukas Eder
f73be0d9da [jOOQ/jOOQ#14003] Compilation error in generated code when combining
<pojos/>, <interfaces/> and <embeddables/>

See also: [jOOQ/jOOQ#10212]
2022-09-20 14:45:14 +02:00
Lukas Eder
c72c23b4ab [jOOQ/jOOQ#10212] DAO interactions improved 2022-09-20 13:21:00 +02:00
Lukas Eder
5b6fa92608 [jOOQ/jOOQ#10780] Add a few more nullability annotations to DAO 2022-09-20 11:21:44 +02:00
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