247 Commits

Author SHA1 Message Date
Andrea Boriero
b785f94890 HHH-17735 Community dialects for MySQL 5.7 give invalid SQL syntax for locks since 6.4.4 2024-08-06 11:49:08 +02:00
Christian Beikov
488cdd9559 HHH-17884 Fix the enum value sorting for EnumeratedType.STRING enums 2024-04-19 13:04:05 +02:00
Christian Beikov
f36dd10194 HHH-17174 Fix empty query string 2024-04-18 18:17:03 +02:00
Andrea Boriero
6057d99b79
HHH-16454 PostgreSQL ILIKE Keyword is considered a column name when deducing alias injection points 2024-02-08 12:05:42 +01:00
Christian Beikov
2661e5cd18 HHH-17662 Replace JdbcTypeConstructor uses for arrays with uniform resolve method 2024-02-05 14:34:02 +01:00
Christian Beikov
8250f13d77 HHH-17639 Make recursive CTE cycle detection emulation independent of collation 2024-01-15 06:38:38 +01:00
Marco Belladelli
8daa7ced49 HHH-17435 Allow input param as trim character and fix single quote 2024-01-12 12:53:20 +01:00
Jan Schatteman
8f2321ef6b HHH-17616 - Move resources that were still in src/java to src/resources (hibernate-community-dialects)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-01-08 18:53:22 +01:00
Marco Belladelli
8e5f847201 HHH-17490 Fix not in and empty list parameter predicate 2024-01-05 18:46:24 +01:00
Jan Schatteman
2521e72d37 HHH-14358 - Added test and fix to support null binding for PostgreSQL
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-12-22 20:26:09 +01:00
Christian Beikov
ad283cdc4c HHH-17303 Fix test on PostgreSQL 2023-12-20 16:29:32 +01:00
Andrea Boriero
1e21da14cd HHH-17520 Schema creation fails with interval second data type on PostgreSQL 2023-12-13 15:44:29 +01:00
Marco Belladelli
ac637ea8af HHH-17425 Introduce some new dialect-specific config params 2023-11-23 14:33:40 +01:00
yjpark
46b064633b HHH-17023 Implements AltibaseDialect 2023-11-14 14:51:35 +01:00
Marco Belladelli
3cfd85d8e2 HHH-17384 Fix @NotFound to-one association nullness handling 2023-11-10 09:31:46 +01:00
Christian Beikov
adb86e7b7b HHH-17389 Support pg_hint_plan hints for PostgreSQL 2023-11-09 16:09:41 +01:00
Christian Beikov
016dc56208 HHH-17409 Support offset without limit in some LimitHandlers 2023-11-09 16:09:41 +01:00
Christian Beikov
c700dcd8b6 HHH-17355 Smoothen some rough edges with parameter typing and PG12 support 2023-11-06 18:01:04 +01:00
Christian Beikov
79e3af5464 HHH-17355 Add array_to_string function 2023-11-06 18:01:04 +01:00
Christian Beikov
c3e1815486 HHH-17355 Add array_positions and array_positions_list functions 2023-11-06 18:01:04 +01:00
Christian Beikov
1a5184e89b HHH-17355 Add array_fill function 2023-11-06 18:01:04 +01:00
Christian Beikov
faf6345463 HHH-17355 Add array_trim function 2023-11-06 18:01:04 +01:00
Christian Beikov
bfb9fcc0f6 HHH-17355 Unify array_contains and array_contains_all as well as deprecate FunctionRenderingSupport in favor of new FunctionRenderer contract 2023-11-06 18:01:04 +01:00
Christian Beikov
5506714611 HHH-17355 Rename array_contains_any to array_overlaps 2023-11-06 18:01:04 +01:00
Jan Schatteman
17771de2a7 HHH-17344 - Fix potential NPE
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-30 16:38:27 +01:00
Christian Beikov
ae3c88ab66 HHH-17335 Add array_prepend and array_append functions 2023-10-25 18:58:44 +02:00
Christian Beikov
24fa18f954 HHH-17335 Add array_replace function 2023-10-25 18:58:44 +02:00
Christian Beikov
937116ed8a HHH-17335 Add array_slice function 2023-10-25 18:58:44 +02:00
Christian Beikov
950423e7dd HHH-17335 Add array_remove_index function 2023-10-25 18:58:44 +02:00
Christian Beikov
865365e6ec HHH-17335 Add array_remove function 2023-10-25 18:58:44 +02:00
Christian Beikov
b8b8a874fd HHH-17335 Add array_set function 2023-10-25 18:58:44 +02:00
Christian Beikov
8c4ed1ef48 HHH-17335 Add array_get function 2023-10-25 18:58:44 +02:00
Christian Beikov
d5404fdd49 HHH-17335 Add array_contains quantified functions 2023-10-25 18:58:44 +02:00
Christian Beikov
d46fcf1abe HHH-17335 Add array_concat function 2023-10-25 18:58:44 +02:00
Christian Beikov
36b7374ba8 HHH-17335 Add array_length function 2023-10-25 18:58:44 +02:00
Christian Beikov
7f10a48469 HHH-17335 Add array_position function 2023-10-25 18:58:44 +02:00
Christian Beikov
65fb449776 HHH-17335 Add array_contains function 2023-10-25 18:58:44 +02:00
Christian Beikov
2cb4652688 HHH-16780 Add array_agg and array constructor function 2023-10-18 17:38:25 +02:00
Christian Beikov
f13264d71d Fix HANA test failures 2023-10-13 14:23:22 +02:00
Jan Schatteman
ed84eddcb6 HHH-17090 - Remove support for Oracle versions older than 19
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-13 12:36:57 +02:00
Jan Schatteman
ec639cd1f7 HHH-17097 - Remove support for MariaDB versions older than 10.4
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-13 12:36:57 +02:00
Jan Schatteman
1a1604be2f HHH-17095 - Remove support for SQL Server versions older than 2012
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-13 12:36:57 +02:00
Jan Schatteman
f12ef0fa79 HHH-17094 - Remove support for MySQL versions older than 8.0
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-13 12:36:57 +02:00
Christian Beikov
5bab35eb96 HHH-17176 Map SDO_ORDINATE_ARRAY to BigDecimal[] for Oracle 2023-10-10 09:50:57 +02:00
Christian Beikov
bc02c7781d HHH-17276 Be more forgiving when determining lobness 2023-10-09 18:30:18 +02:00
Christian Beikov
cb0aad7c7c HHH-17276 Expose size based lob-ness in DdlType and retain info in runtime model 2023-10-05 22:31:54 +02:00
Hendrik Schreiber
9db13eed69 HHH-17245 Removed author tag for Vlad Mihalcea, as he is not one of the authors of this class.
See https://github.com/hibernate/hibernate-orm/pull/7363#issuecomment-1732135727
2023-09-26 17:30:05 +02:00
Hendrik Schreiber
82d5d07750 HHH-17245 Better conform to SQLite/Xerial driver limitations.
Added getAlterTableToAddUniqueKeyCommand(), which always returns "", 
because SQLite does not support unique constraints in ALTER TABLE 
statements (see here). 
Added getDefaultUseGetGeneratedKey(), which always returns false, as the 
Xerial driver does support GET_GENERATED_KEYS.
2023-09-26 17:30:05 +02:00
Christian Beikov
59d254cae1 HHH-17242 Partly revert original solution to retain correct expression types 2023-09-26 15:45:04 +02:00
Christian Beikov
47316da04b HHH-17242 Improve temporal arithmetic SQL rendering 2023-09-22 16:38:06 +02:00