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
Christian Beikov
dd9a51a53a
Implement sane collection of skip/require dialect annotations
2023-09-07 14:43:31 +02:00
Christian Beikov
d4accd0233
Make use of connection pooling in most tests
2023-09-06 14:57:05 +02:00
Christian Beikov
e73a1cdccb
HHH-16945 Cast to varbinary for tuple distinct count on SQL Server to avoid collation issues
2023-09-06 10:06:05 +02:00
Jan Schatteman
213660001c
HHH-15177 - Remove support for PostgreSQL versions older than 11
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-08-28 14:37:40 +02:00
Gavin King
72e092f67f
HHH-16989 fix 'cast(string as String(10))', 'cast(string as Binary(10))' on MySQL
2023-08-19 10:40:05 +02:00
Christian Beikov
b2fda37773
Use try-with-resources to ensure scroll and stream tests close underlying resources
2023-08-15 19:36:43 +02:00
marko-bekhta
3365c6f585
HHH-17016 Cast to the correct MySQL dialect
2023-08-01 10:32:35 +02:00
Christian Beikov
e83008e75d
Fix DB2 10.5 testsuite issues
2023-07-25 15:47:08 +02:00
Christian Beikov
eb562d5078
HHH-16984 Disable use of arrays for batch and multi-loader on H2
2023-07-24 17:15:19 +02:00
Gavin King
49f890d781
move NullOrdering to the Dialect package where its usages are
2023-07-05 13:23:15 +02:00
Christian Beikov
a098abff42
Handle timeout exception for older H2 versions and igonre a test for Cockroach
2023-06-26 17:49:18 +02:00
Sanne Grinovero
0fb5895d08
Automated cleanup: suboptimal string handling (thanks IntelliJ)
2023-06-26 14:38:59 +01:00
Christian Beikov
98e028c51d
HHH-14483 Split insert-values statement if dialect doesn't support values lists
2023-06-21 18:24:33 +02:00
Marco Belladelli
cbac1b82c0
HHH-16773 Fix functional dependency support for TiDB and Cockroach
2023-06-20 14:21:23 +02:00
Marco Belladelli
e5d59b64fd
HHH-16773 Introduce support for group/order by PK functional dependency
2023-06-16 14:06:54 +02:00
Christian Beikov
2fb7cdd08b
HHH-16697 Fix auto type discovery for aggregate functions on Oracle
2023-06-13 20:59:58 +02:00
Gavin
37c071fa20
better formatting for 'merge' and 'case'
2023-06-06 16:08:05 +02:00
Christian Beikov
2cc1362df7
HHH-15929 Handle the possibility of different JdbcMappings for the same column
2023-06-05 16:49:04 +02:00
Gavin
eb959722f9
HHH-16651 introduce new setting to globally enable the use of subselect fetching
...
and lay foundation for making this settable on the Session
2023-05-22 18:45:28 +02:00
Jarkko Hyöty
6c8bb03c93
HHH-16433 Fix forced follow on locking with order by
2023-05-19 11:31:49 +02:00
Christian Beikov
bee160e9f2
HHH-16541 Don't report supportsSkipLocked() for Sybase
2023-05-17 16:22:31 +02:00
Christian Beikov
7823b48a3a
HHH-16541 Fix Sybase test issues and HSQLDB hanging
2023-05-17 11:41:18 +02:00
Christian Beikov
031098a248
HHH-16541 Don't consider uninitialized LazyTableGroup for follow-on locking emulation. Fix lock mode upgrade for follow-on locking
2023-05-16 12:58:25 -05:00
Christian Beikov
eb6e848de3
HHH-15726 Fix treat disjunction handling and improve pushdown
2023-05-15 10:07:08 +02:00
Marco Belladelli
4e9a643346
Fix several tests failing on Oracle 11 and some others on older dbs
2023-05-15 09:27:35 +02:00
Jan Schatteman
2e97374660
HHH-16567 - Remove support for CockroachDB versions older than 22.1
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-05-09 20:40:05 +02:00
Gavin
a56942ce3b
HHH-16535 introduce @Array annotation
2023-05-02 14:40:00 +03:00
Christian Beikov
53c7ef470a
HHH-16533 Fix issues with jConnect driver related to temporal literals. Also improve truncation and casting SQL
2023-05-02 11:16:04 +02:00
Gavin
473984f1eb
HHH-16125 introduce JdbcTypeConstructor instead of using JdbcTypes as their own factories
...
previously, there was a global instance of ArrayJdbcType registered by the Dialects, in
an inconsistent state, that acted as a factory for correctly-initialized instances
2023-05-02 10:47:28 +03:00
Gavin
07268d6568
HHH-16125 Oracle array support using varray types
2023-05-01 17:37:19 +02:00
Gavin
783e0772e6
fix rendering of in (...) lists
...
they are not function calls
2023-05-01 17:24:15 +03:00
Gavin
7514f8ad00
HHH-16125 introduce SqlTypes.NAMED_ENUM to make pg enums non-default
...
and clean up the impl of enums
2023-04-29 15:42:56 +02:00
Gavin
fb9c007bdd
HHH-16125 attempt to support PostgreSQL enum types
2023-04-29 15:42:56 +02:00
Marco Belladelli
f7eb58341e
Fix in-array predicate rendering for cockroachdb
2023-04-28 11:11:26 +02:00
Christian Beikov
203f28e14c
HHH-16528 Revert SybaseDialect NameQualifierSupport to CATALOG only and fix ansinull option for jconnect
2023-04-28 10:30:43 +02:00
Christian Beikov
aad0c55f9b
HHH-15833 Disable named parameters for jConnect JDBC driver
2023-04-28 10:30:43 +02:00
Marco Belladelli
c86c2b8300
HHH-16392 Add column qualifier support to Dialect
2023-04-28 10:22:26 +02:00
Christian Beikov
199201482d
HHH-16271 Fix generated keys issues with Sybase JConn and insert-select statements
2023-04-26 11:51:15 +02:00
Christian Beikov
31f1a30c7d
Fix issues with nightly tests
2023-03-30 15:43:51 +02:00
Christian Beikov
e1d926356f
HHH-16404 SkipFirstLimitHandler calls insertAfterSelect with parameter in wrong order
2023-03-30 14:26:23 +02:00
Christian Beikov
eb9e16c83f
HHH-16317 Don't use InstantAsTimestampWithTimeZoneJdbcType for PG-JDBC and MSSQL due to a bug
2023-03-23 11:59:53 +01:00
Christian Beikov
41bec6d5f9
HHH-16287 Consider hibernate.timezone.default_storage for OffsetTime typing and storage
2023-03-23 11:59:53 +01:00
Christian Beikov
0b68a36f8b
HHH-16333 Handle converters properly in BasicPluralType
2023-03-22 17:27:26 +01:00
Marco Belladelli
c3fa3ae777
HHH-16320 Handle json columns with native ddl type on H2
2023-03-17 10:21:41 +01:00
Christian Beikov
39f4fdda5e
HHH-16316 Move version specific dialects of unsupported versions to hibernate-community-dialects
2023-03-17 10:12:34 +01:00
Christian Beikov
2c666c3835
HHH-15766 Add query spec parenthesis also when order by is used within query group
2023-03-06 09:43:11 +01:00