Jan Schatteman
8da3f3700f
HHH-18592 - Remove deprecated @TestForIssue
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-09-10 14:09:20 +02:00
Vladimír Kuruc
dfe6a09f31
HHH-18561 Fix for Informix primary key constraint syntax error
2024-09-04 13:58:30 +02:00
Vladimír Kuruc
226e85957b
HHH-18558 Fix for Informix UUID type support
2024-09-03 16:42:03 +02:00
Gavin King
72e42817e3
rationalize diverse ways to split strings
...
+ a couple of other code cleanups
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-30 13:40:34 +02:00
marko-bekhta
28988a9a5c
HHH-18488 Bump the jboss logging dependency
2024-08-28 10:36:21 -05:00
Vladimír Kuruc
43745c9372
HHH-18531 Fix for Informix timestamp literal error
2024-08-28 17:15:17 +02:00
Vladimír Kuruc
5975d02e39
Tests with current_timestamp requires Dialect UsesStandardCurrentTimestampFunction feature
2024-08-27 07:10:43 -05:00
Christian Beikov
a956fda688
HHH-17646 Optimize away real table group rendering if possible
2024-08-16 13:35:45 +02:00
Jan Schatteman
5dd0aa1e1a
HHH-18037 - Move DerbyDialect to hibernate-community-dialects
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-15 13:52:32 -05:00
Andrea Boriero
dcdcd257c3
Remove use of session#save, session#saveOrUpdate , session#update and session#remove from tests
2024-08-15 13:52:31 -05:00
Gavin King
755c93c9f1
HHH-18314 NCHAR,NVARCHAR,NCLOB on Db2
...
1. Db2 driver now supports setNString() and friends
2. Hibernate SchemaValidator + SchemaMigrator now consider NUMERIC and DECIMAL equivalent
We may therefore roll back HHH-12753 and HHH-12827 respectively.
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King
0cbdc44fbc
clean up some logging
...
- reduce some INFO messages to DEBUG
- delete unused messages
- some minor formatting changes
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:29 -05:00
Gavin King
ebc253a6f9
more simplifications to persister hierarchy ( #8501 )
...
- remove Lockable interface
- remove Queryable, QueryableCollection, and Loadable
- remove most of PropertyMapping stuff
- remove most of Joinable
2024-08-15 13:52:29 -05:00
Gavin King
7e536a269e
HHH-18207 remove deprecated Dialect classes ( #8487 )
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:28 -05:00
Andrea Boriero
ff07248944
HHH-18054 Support for JPA 3.2 @CheckConstraint
2024-08-15 13:52:27 -05:00
Christian Beikov
405d80bd29
HHH-18043 Change SQL Server default timestamp precision to 7
2024-08-15 13:52:26 -05:00
Christian Beikov
356b729c29
HHH-18035 Change Oracle default timestamp precision to 9
2024-08-15 13:52:26 -05:00
oyeliseiev-ua
ac4931a264
HHH-18459 Add SingleStore dialect
2024-08-12 16:21:28 +02:00
Andrea Boriero
03e48d8355
HHH-18280 add hibernate.query.pass_procedure_paramater_names setting
2024-07-31 15:22:04 -05:00
Andrea Boriero
8766a8e012
HHH-18280 Support named procedure parameters down to the JDBC level
2024-07-31 15:22:04 -05:00
Christian Beikov
01d4b997b5
Fix EDB xor implementation
2024-07-23 20:22:14 +02:00
Christian Beikov
415bfcf8fa
Fixes for nightly failures of PG and EDB v12, DB2 10.5 and MariaDB. Exclude Oracle 21 from nightly runs in favor of Atlas build
2024-07-16 17:26:15 +02:00
Geoffrey Park
228bd7958f
HHH-18343 fix Altibase integration test failures since Hibernate 6.5.2
2024-07-11 18:31:12 +02:00
Samuel Guillemet
bb90a84505
HHH-18339 Set support filter clause to True for H2
2024-07-09 15:58:46 +02:00
imunic
c5d5bc1922
HHH-17840 Fix inconsistency of read/write null JsonNode/JsonValue
2024-07-05 18:05:41 +02:00
Vladimír Kuruc
711dffa7e3
HHH-18312 Fix for Informix nationalized JDBC types support
2024-07-05 16:55:37 +02:00
Vladimír Kuruc
a6503e100e
Informix Blob locator fix
2024-07-05 15:58:14 +02:00
Yanming Zhou
84b3ea0115
HHH-18334 Fix that Teradata doesn't support variable limit
2024-07-05 15:53:15 +02:00
Marco Belladelli
f292908b67
HHH-18332 Fix DB2 support for procedure output ref_cursors parameters
2024-07-05 13:41:59 +02:00
Gavin King
93ec580fad
make use of Length constants in Dialects instead of Integer.MAX_VALUE
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 11:54:56 +02:00
Vladimír Kuruc
3d72ab25f0
HHH-18267 Informix insert value to identity column error
2024-06-13 17:38:02 +02:00
Andrea Boriero
8663136608
Improve Sybase and SQLServer blob lob generation
2024-06-12 13:36:59 +02:00
Andrea Boriero
93629f0d2a
HHH-17735 Community dialects for MySQL 5.7 give invalid SQL syntax for locks since 6.4.4
2024-06-12 13:34:30 +02:00
Vladimír Kuruc
aa9f3d091c
HHH-18250 Informix multi insert not supported
2024-06-12 00:26:07 +02:00
Christian Beikov
8100f92265
HHH-18232 Use change table modifier new and final consistently on DB2 and zOS
2024-06-07 15:02:34 +02:00
Vladimír Kuruc
e8bd4e7cc5
HHH-18246 Fix for Informix nulls precedence support
2024-06-07 14:52:35 +02:00
Vladimír Kuruc
f5e209f6bf
HHH-18244 Fix for Informix SelectItemReferenceStrategy
2024-06-07 10:48:48 +02:00
Vladimír Kuruc
69fb487a6e
HHH-16844 Fix for Informix VARCHAR, NVARCHAR mappings errors
2024-06-06 18:47:41 +02:00
Vladimír Kuruc
b687120bad
HHH-18225 Fix for Informix syntax error in DISTINCT clause before SKIP clause
2024-06-04 18:06:15 +02:00
Vladimír Kuruc
753076bb40
HHH-18221 Fix for Incomplete list of existing foreign keys - DatabaseMetaData.crossReferences(...) not used
2024-06-04 13:52:19 +02:00
Mark Rotteveel
1e70c51b56
HHH-18213 Fix LimitHandler for Firebird 2.5 and older
2024-06-04 13:38:55 +02:00
Vladimír Kuruc
cfc6df2e27
HHH-18150 Considered change of ignoring precision while preserving float/smallfloat mapping
2024-06-04 11:47:48 +02:00
Vladimír Kuruc
0fd9edc501
HHH-18150 Fix for Informix float and double precision in decimal digits
2024-06-04 11:47:48 +02:00
Vlado Kuruc
abf07078d8
HHH-18180 Update hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/sequence/InformixSequenceSupport.java
...
Co-authored-by: Christian Beikov <christian.beikov@gmail.com>
2024-06-04 11:43:50 +02:00
Vladimír Kuruc
8d01a705c1
HHH-18180 Informix IF EXISTS clauses support
2024-06-04 11:43:50 +02:00
Loïc LEFEVRE
ef1cbf589d
HHH-18206 Switch to JDBC LOB APIs for Oracle Dialect ( #8486 )
...
HHH-18206 Switch to JDBC LOB APIs for Oracle Dialect
2024-06-02 18:29:52 +02:00
marko-bekhta
045053ff8a
HHH-17030 Followup: move schema check to launcher listener
2024-05-31 15:22:00 +02:00
Christian Beikov
ed2fdce0a6
HHH-15831 Support non-basic values in aggregate components
2024-05-23 19:56:29 +02:00
Vladimír Kuruc
6247dea9a6
HHH-18163 Fix for Informix foreign key on cascade delete syntax
2024-05-23 19:34:30 +02:00
Vladimír Kuruc
0c9fa65d22
HHH-18153 Checkstyle fixes
2024-05-23 19:32:28 +02:00
Vladimír Kuruc
a3f8addd51
HHH-18153 Fix for Informix unique constraints on nullness columns
2024-05-23 19:32:28 +02:00
Christian Beikov
11d22531bb
HHH-17884 Introduce special SqlTypes constants for ordinal based enums
2024-05-22 13:58:40 +02:00
LLEFEVRE
6a764d70e6
HHH-18142 Add Oracle Database 23ai support for DROP SEQUENCE IF EXISTS
2024-05-21 12:25:21 +02:00
LLEFEVRE
fcc33f3fe1
HHH-18142 Add Oracle Database 23ai support for DROP SEQUENCE IF EXISTS
2024-05-21 12:25:21 +02:00
Marco Belladelli
ce48a51eaa
Fix CockroachDB timestampdiff errors caused by `round()` return type
2024-05-16 08:56:23 +02:00
Christian Beikov
5c6a2f4a7d
HHH-17375 Introduce intersects predicate for easy array_intersects, the replacement of array_overlaps
2024-05-13 22:11:15 +02:00
Christian Beikov
64dd9e657c
HHH-17375 Support casting array to string and add optional third argument to array_to_string for null element handling
2024-05-13 22:11:15 +02:00
Yanming Zhou
df7f104689
HHH-18033 Fix LimitHandler detect wrong statement end if sql contains quoted semicolon
2024-05-13 10:20:16 +02:00
Marco Belladelli
b051936204
Use round in CockroachDB timestampdiff pattern to avoid rounding errors
2024-05-09 08:49:00 +02:00
Yoann Rodière
fa35e99543
HHH-18080 Fix default version handling in dialects when not using JDBC metadata
...
* Use the minimum supported version instead of '0.0.0'
* Don't warn about version '0.0.0'
2024-05-08 07:08:14 -05:00
Christian Beikov
d1b30e1ab8
HHH-15862 Support basic array values in aggregate components
2024-05-07 21:00:12 +02:00
Christian Beikov
3ce6a1351a
HHH-17421 Ensure that no follow-on locking happens on SQL Server and Sybase ASE
2024-05-07 08:16:49 +02:00
Marco Belladelli
7f00e1a59d
HHH-18053 Fix CockroachDB `TemporalUnit.NATIVE` interval pattern
2024-05-06 10:37:37 +02:00
Christian Beikov
9011d22315
HHH-18043 Change the temporal arithmetic to use nanoseconds
2024-05-03 23:14:58 +02:00
Gavin King
72261fd806
HHH-18020 realign behavior of ClobJdbcType with BlobJdbcType
...
there was some organic divergence here
2024-05-02 20:18:27 +02:00
Christian Beikov
88bdfbfbd4
HHH-18046 Cast parameters used as arithmetic operands on DB2
2024-05-02 18:18:49 +02:00
Christian Beikov
5d4ffac58d
HHH-18018 Use NO_PLAIN_PARAMETER for Derby functions that use the length function
2024-05-01 10:33:24 -05:00
Christian Beikov
969ecaae58
Fix SybaseASEDialect column length resolution
2024-04-23 17:08:18 +02:00
Christian Beikov
52adf4f664
HHH-17174 Fix empty query string
2024-04-18 18:16:30 +02:00
Andrea Boriero
add62a188b
Fix SybaseASEDialect column lenght resolution
2024-04-12 19:27:41 +02:00
Andrea Boriero
4893b6d3ab
Fix LobSchemaUpdateTest failure for sybase and mssql legacy dialects
2024-04-12 11:46:07 -05:00
Yanming Zhou
95403bc083
Use Integer.MAX_VALUE instead for better readability
2024-04-12 13:42:47 +02:00
Vladimír Kuruc
9e8fe5ca07
HHH-14080 fix Dialect-Aware Rendering of Null Value Literals for InformixDialect
2024-03-27 13:33:30 +01:00
Christian Beikov
76ca5fb790
HHH-10619 Add test for JTA timeout handling
2024-03-27 13:26:09 +01:00
Gavin King
6441c60255
HHH-17859, HHH-17858 function() and column() functions
2024-03-17 11:14:57 +01:00
Gavin King
115ddffdbc
fix constraint name extraction and 'on constraint' on MySQL
2024-03-04 20:52:50 +01:00
Christian Beikov
0163fceed9
HHH-15519 Fix bitwise operation tests on CockroachDB
2024-02-22 14:17:20 +01:00
Christian Beikov
647a1890e8
HHH-16048 Fix portable integer division for HANA and CockroachDB
2024-02-21 13:46:12 +01:00
Gavin King
5fe2b75d2d
HHH-15519 make bitand(), bitor(), bitxor() portable
...
- add bitwise functions on SQL Server and Sybase
- add bitor(), bitxor() on Oracle
- add missing bitwise functions to HANA and h2
- fix broken bitxor() on Postgres
- add bitwise functions for EDB
2024-02-20 09:11:44 +01:00
Gavin King
3769d4c233
use requiresService() much more consistently
...
we should usually avoid the use of getService() unless
there is an explicit null test on the client side
2024-02-16 23:18:30 +01:00
Andrea Boriero
29f51ef9ca
HHH-16454 PostgreSQL ILIKE Keyword is considered a column name when deducing alias injection points
2024-02-08 12:06:11 +01:00
Christian Beikov
5bd7e86e92
HHH-17662 Replace JdbcTypeConstructor uses for arrays with uniform resolve method
2024-02-05 14:33:35 +01:00
yjpark
98907e1ad4
HHH-17696 added missing @Override to AltibaseSqlAstTranslator.java
2024-02-05 13:34:17 +01:00
yjpark
7b0e511577
HHH-17696 Make Altibase Dialect compatible with Altibase 7.1 and fixes several test failures.
2024-02-05 13:34:17 +01:00
HJK181
c2b23508f7
HHH-17675 add enum type support to H2LegacyDialect
2024-01-25 11:14:57 +01:00
Christian Beikov
7ec3667802
Fix test failures on nightly test pipeline
2024-01-15 06:39:57 +01:00
Christian Beikov
ea7c8c6836
HHH-17639 Make recursive CTE cycle detection emulation independent of collation
2024-01-15 06:37:20 +01:00
Marco Belladelli
2fce965730
HHH-17435 Allow input param as trim character and fix single quote
2024-01-12 12:52:53 +01:00
Jan Schatteman
446ad5fe91
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:12 +01:00
Marco Belladelli
7c58fe9a16
HHH-17490 Fix not in and empty list parameter predicate
2024-01-05 18:45:50 +01:00
Jan Schatteman
ec60a5ae1c
HHH-14358 - Added test and fix to support null binding for PostgreSQL
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-12-22 19:27:03 +01:00
Marco Belladelli
d72856fef0
HHH-17406 Retrieve arbitrary on-execution generated values efficiently
2023-12-22 17:55:50 +01:00
Christian Beikov
53dbc959e1
HHH-16138 Fix update statement join emulation for old DB2 versions
2023-12-22 11:54:44 +01:00
Christian Beikov
78f1be6fa1
HHH-16138 Support joins in SQM UPDATE/DELETE statements
2023-12-21 18:01:30 +01:00
Christian Beikov
bb4ed4b000
HHH-17506 Support ON CONFLICT clause for HQL/Criteria inserts
2023-12-21 18:01:30 +01:00
Christian Beikov
c931c86896
HHH-17506 Return exceptions instead of throwing them in SQLExceptionConversionDelegate
2023-12-21 18:01:30 +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