Commit Graph

12045 Commits

Author SHA1 Message Date
Lukas Eder
4941d75b59 [jOOQ/jOOQ#9818] Get view source code from org.jooq.Meta views 2023-02-28 16:30:04 +01:00
Lukas Eder
efdf5d98ec [jOOQ/jOOQ#8609] MemSQL does not support "nested scalar subselects in
project list"
2023-02-28 09:51:42 +01:00
Lukas Eder
9dde94a290 [jOOQ/jOOQ#12421] [jOOQ/jOOQ#14718] Add dialect versions for MEMSQL 2023-02-28 09:36:28 +01:00
Lukas Eder
57102edd66 [jOOQ/jOOQ#11355] Fix MARIADB RequiredVersion 2023-02-28 09:26:42 +01:00
Lukas Eder
3128345a74 [jOOQ/jOOQ#14437] Get this to work on H2 as well 2023-02-27 16:59:35 +01:00
Lukas Eder
8039850d7c [jOOQ/jOOQ#14437] UnsupportedOperationException when selecting row with
YearToSecond
2023-02-27 16:26:38 +01:00
Lukas Eder
193b9caf2b [jOOQ/jOOQ#14713] Add support for interval types in DefaultConverterProvider 2023-02-27 16:17:19 +01:00
Lukas Eder
ebb5528609 [jOOQ/jOOQ#14694] Fix regression 2023-02-27 12:41:59 +01:00
Lukas Eder
dbeafea01b [jOOQ/jOOQ#14694] Re-wrap actual Val, don't create a ConvertedVal
The initial fix attempted to create a ConvertedVal from the original Val, but that didn't always produce the required bind value casts, e.g. in Firebird. When jOOQ's internals create a Val (as opposed to the user), then the interesting value is really only the value, not the wrapper, so we can discard the temporary wrapper as soon as we have explicit type information.

As an aside, it is particularly important not to apply this logic e.g. when parsing / translating SQL, in case of which we currently still rely on Val identity for caching (!)
2023-02-27 11:01:33 +01:00
Lukas Eder
add0a771d8 [jOOQ/jOOQ#14711] Add missing set(String, Param) and setLocal(String, Param) overloads 2023-02-27 09:36:16 +01:00
Lukas Eder
42e8590d9f [jOOQ/jOOQ#14699] PostgreSQL interval parser handle fractional seconds with interval style iso_8601 2023-02-27 09:26:02 +01:00
Lukas Eder
5bce422978 [jOOQ/jOOQ#14708] Add Queries.batch(): Batch 2023-02-27 08:50:00 +01:00
Lukas Eder
285b3a7332 [jOOQ/jOOQ#14694] Fix regression of [jOOQ/jOOQ#8517] 2023-02-24 21:00:28 +01:00
Lukas Eder
4c63a20d2a [jOOQ/jOOQ#14694] INSERT statement does not apply types to bind values in VALUES clause when using valuesOfRows() 2023-02-24 18:01:55 +01:00
Lukas Eder
849d4ec9e2 [jOOQ/jOOQ#14701] Avoid source dependency on provided scoped class 2023-02-24 14:50:24 +01:00
Lukas Eder
492063521f [jOOQ/jOOQ#14703] SQL Server RETURNING clause emulation for fetching server side computed columns generates incorrect SQL if only computed columns are fetched 2023-02-24 14:19:05 +01:00
Lukas Eder
94af3fdd98 [jOOQ/jOOQ#14701] Let DataAccessException::sqlStateClass be based on SQL Server error codes for SQLStateClass 22 or 23 2023-02-24 12:51:27 +01:00
Lukas Eder
5ebcc5c053 [jOOQ/jOOQ#14696] Wrapping SQLException must copy SQLState and other info from wrapped SQLException 2023-02-23 17:14:29 +01:00
Lukas Eder
cef08e62ed [jOOQ/jOOQ#14656] Improve SQLiteTableDefinition wrt identities 2023-02-23 16:10:41 +01:00
Lukas Eder
a50d3f12b7 [jOOQ/jOOQ#14690] Add parser support for SQLite's WITHOUT ROWID tables 2023-02-23 14:49:14 +01:00
Lukas Eder
b8329abcb0 [jOOQ/jOOQ#14684] Translator duplicates comment only content 2023-02-23 13:51:19 +01:00
Lukas Eder
f5cead42d5 [jOOQ/jOOQ#14077] Added interpreter support 2023-02-23 13:23:24 +01:00
Lukas Eder
8f5399bc82 [jOOQ/jOOQ#14077] Add parser support 2023-02-23 13:00:36 +01:00
Lukas Eder
2f91c57b81 Re-generated example code 2023-02-23 10:01:21 +01:00
Lukas Eder
3e72ac1493 [jOOQ/jOOQ#11150] Add a comment to the code 2023-02-23 10:01:08 +01:00
Lukas Eder
4bf6ff3e52 [jOOQ/jOOQ#12214] onKey(ForeignKey) does not work when tables are aliased 2023-02-22 16:42:56 +01:00
Lukas Eder
cbc6f0ed95 [jOOQ/jOOQ#14675] Added more Javadoc to DataAccessException 2023-02-22 15:37:27 +01:00
Lukas Eder
e35dfdbe04 [jOOQ/jOOQ#14675] Add a DataException for SQLState 22 and a IntegrityConstraintViolationException for SQLState 23 2023-02-22 15:31:39 +01:00
Lukas Eder
8c2cebaee9 [jOOQ/jOOQ#14671] Wrong column resolved by JoinTable.field(Field), when JoinTable contains aliased tables and lookup uses unaliased tables 2023-02-22 13:04:19 +01:00
Lukas Eder
9051dc1899 [jOOQ/jOOQ#14668] Wrong ON KEY JOIN generated when aliased table appears twice in the JOIN tree 2023-02-22 11:16:05 +01:00
Lukas Eder
dd5cef3626 Merge branch 'main' of github.com:jOOQ/jOOQ into main 2023-02-22 09:37:58 +01:00
Lukas Eder
db6d2abd6f [jOOQ/jOOQ#14648] Add Spatial support to Snowflake 2023-02-21 14:06:24 +01:00
Lukas Eder
7065b2a8dc [jOOQ/jOOQ#10018] No support annotations on kotlin extensions yet 2023-02-21 13:39:02 +01:00
Lukas Eder
14a62a47ef [jOOQ/jOOQ#14648] Add Spatial support to Snowflake 2023-02-21 12:48:29 +01:00
Lukas Eder
abf66f37bd [jOOQ/jOOQ#14653] Support ABSENT ON NULL and NULL ON NULL also on JSON_OBJECTAGG and JSON_ARRAYAGG for Snowflake 2023-02-21 10:46:08 +01:00
Lukas Eder
cb4e8ff49b [jOOQ/jOOQ#14665] Non-boolean field emulation should be NOT NULL aware 2023-02-21 10:33:39 +01:00
Lukas Eder
a31028f9ee [jOOQ/jOOQ#10018] Added kotlin extension methods 2023-02-21 10:01:07 +01:00
Lukas Eder
6cd1481da2 [jOOQ/jOOQ#14653] Add IS JSON support 2023-02-21 09:10:59 +01:00
Lukas Eder
9a641b5b91 [jOOQ/jOOQ#10018] Added kotlin extension methods 2023-02-21 08:42:07 +01:00
Lukas Eder
cb7addce1d [jOOQ/jOOQ#14653] Better handle the null/undefined difference in
JSON_ARRAY
2023-02-20 20:00:47 +01:00
Lukas Eder
694f566df9 [jOOQ/jOOQ#14653] Support JSON_GET_ATTRIBUTE and JSON_GET_ELEMENT 2023-02-20 16:12:51 +01:00
Lukas Eder
848b2b9b8a Still javac 8 compiler hiccups 2023-02-20 15:17:25 +01:00
Lukas Eder
d21c6f2261 [jOOQ/jOOQ#14653] Re-generate Names class 2023-02-20 15:14:57 +01:00
Lukas Eder
0e9b6bfd91 [jOOQ/jOOQ#14660] Work around Snowflake's INSERT .. VALUES limitation of not being able to reference expressions 2023-02-20 15:11:39 +01:00
Lukas Eder
22a77ea842 [jOOQ/jOOQ#14653] Support the JSON (VARIANT) data type 2023-02-20 11:42:59 +01:00
Lukas Eder
0260b160a6 [jOOQ/jOOQ#14653] Fix support annotations on JSON_ARRAYAGG .. RETURNING and JSON_OBJECTAGG .. RETURNING 2023-02-20 09:40:02 +01:00
Lukas Eder
6d6a6a16f1 [jOOQ/jOOQ#14653] Added parser support for OBJECT_AGG() 2023-02-20 09:36:53 +01:00
Lukas Eder
0e67112dbc [jOOQ/jOOQ#14653] Fix regression in MariaDB's JSON_OBJECTAGG 2023-02-20 09:30:24 +01:00
Lukas Eder
a3060161b4 [jOOQ/jOOQ#14658] Get MariaDB dialect up to date 2023-02-20 09:20:08 +01:00
Lukas Eder
88f7d54a87 [jOOQ/jOOQ#13530] [jOOQ/jOOQ#14648] Add runtime support for procs 2023-02-17 17:22:11 +01:00