Commit Graph

117 Commits

Author SHA1 Message Date
Christian Beikov e936e1b6e0 HHH-17087 Update container images to the latest version 2023-09-04 17:55:07 +02:00
Jan Schatteman b241502b59 HHH-15194 - Remove support for PostgreSQL Advanced Server versions older than 11
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-08-28 14:37:40 +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
Christian Beikov 5b2d347b6f Setup TiDB for local testing 2023-08-10 11:42:03 +02:00
Christian Beikov b0ad374226 Fix Cockroach test failures by configuring SQL sequence compatibility 2023-07-25 15:12:55 +02:00
Gavin King de0a33542f put sybase on port 9000
port 5000 does not work on my Mac laptops and I'm getting sick
of having to do this manually all the time
2023-07-03 22:32:18 +02:00
Karel Maesen 19f6a60dcc
HHH-16552 - Add CockroachDB v23.1 to Jenkings nightly 2023-05-10 10:00:13 +02:00
Christian Beikov 57029ddc70 HHH-15871 Update EDB testing to version 15 2023-05-02 13:00:17 +02:00
Jan Schatteman 35682e50da HHH-16131 - Added workaround and test for date calculcation errors on Oracle
Temporarily excluded TiDB from that test (until they fix https://github.com/pingcap/tidb/issues/41052)

Added tidb to the docker_db script

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-08 17:52:24 +01:00
Karel Maesen 803a9a0ffb Update memory config for CockroachDB configuration
With the previous setting the cockroach process is killed by the OOM-killer.
2023-01-24 21:24:28 +00:00
LLEFEVRE 85a5b17ae3 HHH-16036 Fix Oracle CI parameter STATISTICS_LEVEL 2023-01-13 10:16:13 +01:00
Christian Beikov ce0084cf18 Update CockroachDB testing to use version 22.2.2 2023-01-10 18:46:57 +01:00
LLEFEVRE 2ed4d2c87b HHH-15971 Fix Oracle CI build for 11g version 2023-01-04 11:23:56 +01:00
LLEFEVRE ccf4fac124 HHH-15961 Speed-up Oracle CI build 2023-01-03 10:26:46 +01:00
Marco Belladelli d288962fc2 HHH-15900 Modify HANA script to work with podman 2022-12-21 12:42:30 +01:00
Christian Beikov ae54ca8ae7 HHH-15863 Update PostgreSQL testing to version 15 2022-12-15 10:36:29 +01:00
Christian Beikov 276b7a6f95 HHH-15748 Use JSON DDL type on Oracle 21+ and BLOB on 12+ 2022-11-25 10:11:12 +01:00
Karel Maesen be406f2732 HHH-15668 Apply recommended settings for CockroachDB
The recommended CockroachDB v22.1 settings for local testing have changed. The recommended
settings are now applied.

The setting `schemachanger.backfiller.buffer_increment` seems to have been removed
(despite still being mentioned in the documentation). We remove it
because it throws an error and this may leave the Cockroach cluster
with some of the recommended settings not applied.
2022-11-24 08:45:56 +01:00
Christian Beikov 4914d14a43 HHH-15626 Move old databases to nightly pipeline and add some SQL Server 2022 features 2022-11-18 11:06:39 +01:00
Christian Beikov ee7c2ee041 HHH-15615 Add EDB PostgreSQL Advanced to test matrix and fix issues 2022-10-21 12:35:46 +02:00
Christian Beikov 940f15b63e HHH-15528 Add Cockroach to Jenkins nightly test matrix and fix issues 2022-10-21 09:51:16 +02:00
Christian Beikov c23a982318 HHH-15579 Replace inaccessible docker image for SAP Hana with new version 2022-10-05 11:25:04 +02:00
Christian Beikov 6321016051 HHH-15532 Update PostgreSQL testing to version 10 and 14 2022-09-21 16:55:38 +02:00
Christian Beikov bfd1f22157 HHH-15533 Introduce versionless CI matrix entries for the PostgreSQL and MySQL minimum supported version 2022-09-21 13:48:06 +02:00
Christian Beikov 8302b061b2 Revert "HHH-15533 Introduce versionless CI matrix entries for the PostgreSQL and MySQL minimum supported version"
This reverts commit aae3513d58.
2022-09-21 11:30:14 +02:00
Christian Beikov aae3513d58 HHH-15533 Introduce versionless CI matrix entries for the PostgreSQL and MySQL minimum supported version 2022-09-21 11:22:08 +02:00
Christian Beikov 69668c32b7 HHH-15503 Add UUID support for MariaDB 10.7 2022-09-14 11:10:10 +02:00
Sanne Grinovero dcf6730461 HHH-15448 Upgrade testing image for MSSQL Server to 2019-latest 2022-08-16 09:35:17 +01:00
Karel Maesen 9e69f5fd4c HHH-15245 update the CockroachDB docker config
Applied recommended CockroachDB settings for single-node testing.
2022-05-04 16:28:05 +02:00
Christian Beikov 43d2274573 Switch to new Oracle image and try to improve podman experience 2022-04-07 12:34:00 +02:00
Sanne Grinovero a27694c952 Upgrade to DB2 container image ibmcom/db2:11.5.7.0 2021-12-22 11:28:57 +00:00
Christian Beikov 44cb271030 Disable charset client handshake for MySQL and MariaDB 2021-12-06 20:17:10 +01:00
Christian Beikov cbcec73d4f * Handle quoted identifiers in HQL and the Ordering parser
* Switch from the "expression" to "expressionOrPredicate" rule in the HQL grammar where it makes sense as required by some HQL tests
* Cleanup parser rule ordering to allow more keywords in the identifier rule
* Implement literal support for Ordering parser
* Add special AvgFunction as needed by H2, HSQL, DB2, SQL Server and Sybase that casts arguments to double if necessary
* Fix wrong deduplication of order by fragments in case a plural attribute is fetched multiple times
* Implement support for de-referencing any-valued mappings in HQL
* Avoid unnecessary entity subtypes in polymorphic splitted queries if a base type also matches the requested type
* Implement pagination support for polymorphic splitted queries
* Cleanup path part resolving by removing lots of duplicate code
* Aligh HQL parsing expectations to the expected behavior of 5.x
* Add method to `JavaType` that allows determining if a type is can be widened to another which is used for arithmetic type resolving
* Implement validations for fetch owner checking
* Fix issues with the id table creation due to lacking column lengths in the column DDL type
* Fix issues and add some optimizations related to multi-table delete handling
* Add the notion of a special "implicit" alias to avoid generating a unique alias for unaliased or implicit HQL joins
* Properly implement multiple bag fetch validation
* Make sure filter predicates are applied for all plural attribute joins
* Fix some issues with undecidable parameter type inference
* Fix some issues with negated SQM predicates not being converted to the proper SQL AST predicates
* Fix issues with qualifying DML target referencing columns
* Fix `is null` semantics for tuples referring to embeddable types
* Capture necessary details from JdbcValuesMetadata in the cached data to avoid executing a query on cache hit when types should be inferred
* Get rid of special CollectionPropertyNames and writeup a migration guide section for the replacements
2021-11-25 08:51:51 +01:00
Andrea Boriero bb52778229 Fix GH actions store creation procedure craetion privileges for mysql 2021-10-05 15:39:58 +02:00
Christian Beikov 77c1370e45 HHH-14642, HHH-13717 Various JPA Criteria related fixes
* Get rid of unnecessary whitespace and optional keywords in generated SQL
* Handle some type inference related issues with some databases requiring to render casted parameters in some situations
* Ensure SQM model is fully serializable
* Ensure JPA Criteria throws expected exceptions
* Make sure JPA Criteria implementations work properly
* Move jpa.test.callback and jpa.test.criteria packages
* Improve the reuse of SqmPath instances
* Get rid of many raw-types related warnings
* Make Predicate extend Expression and handle SQL rendering/emulation
* Support fetching SqmTuple as array
* Implement treat operator support
2021-09-09 16:39:31 +02:00
Christian Beikov 1a3629a571 Fix some tests and config. Enable all documentation tests. Add profile for PG13 2021-08-31 14:52:59 +02:00
Steve Ebersole 84a4938a52 Jenkinsfile - hibernate-spatial 2021-08-26 11:42:39 -05:00
Steve Ebersole 476ea9230e re-enable `hibernate-spatial` 2021-08-26 09:44:16 -05:00
Christian Beikov 89d16bddc8 Switch to case sensitive collations and fix SQL Server issues 2021-08-05 23:35:17 +02:00
Christian Beikov e82a45d616 Fix issues with Oracle 12.1c 2021-07-28 16:26:09 +02:00
Christian Beikov 34f0b08c24 HHH-14512 Add Jenkinsfile for matrix build 2021-07-28 16:26:09 +02:00
Christian Beikov 6447ca9b26 HHH-14693, HHH-10668 Move non-supported dialects to the hibernate-community-dialects artifact and add the SQLite dialect originally contributed by Vlad Mihalcea which was adapted for Hibernate 6. Also add HSQLDB, MySQL and Sybase ASE configurations and a CI job config 2021-07-06 10:14:20 +02:00
Christian Beikov 044b4b5345 Update SQL Server docker image URL as the old one does not work anymore and add exclude logic to hibernate-core-jakarta also 2021-07-01 17:20:30 +02:00
Andrea Boriero e67d10ee6c Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-04-07 09:19:21 +02:00
Christian Beikov b166e684e1 Skip certain LockTests for Oracle on GH Actions which don't work there 2021-04-06 16:12:19 +02:00
Andrea Boriero c3df793dbe HHH-14509 : Git master -> main branch renaming 2021-03-22 12:38:00 +01:00
Andrea Boriero 96d103215c Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-03-22 12:26:31 +01:00
Karel Maesen 5324db9f25 Docker_db improvements
- enable experimental settings for cockroachdb
- reduce shmni setting for Hana
2021-03-18 09:49:21 +01:00
Andrea Boriero d28b719c2c Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-03-15 10:46:40 +01:00
Christian Beikov b6ba93c786 Increase maximum open cursors 2021-03-12 14:53:13 +01:00
Andrea Boriero 40947297e4 Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-02-18 08:29:28 +01:00
Yoann Rodière 0b951ef803 Fix ulimit when starting Oracle Express
See
https://stackoverflow.com/questions/62574379/su-permission-denied-despite-being-root-in-oracle-container

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2021-02-15 12:56:44 +01:00
Christian Beikov 35643c468a Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-02-12 15:49:53 +01:00
Karel Maesen 42ca47dc4e HHH-14446 Fix a tag for Postgis docker image 2021-02-12 15:39:19 +01:00
Karel Maesen 9d211ed681 HHH-14446 Switching to the postgis provided docker 2021-02-12 15:39:19 +01:00
Karel Maesen 0d140cc30c HHH-14446 Add CockroachDB docker setup 2021-02-12 15:39:19 +01:00
Karel Maesen 6d97df6707 HHH-14446 Add spatial integration test profiles for DB2 and HANA 2021-02-12 15:39:19 +01:00
Karel Maesen 031f12a1ec HHH-14446 Add integration test profiles for mysql and postgis 2021-02-12 15:39:19 +01:00
Christian Beikov 9f096e89ec Repurpose DefaultSizeStrategy to SizeStrategy for resolving final size. Fix boolean encoding/decoding issues. Remove duplicate order bys. Fix set operation nesting. Fix lots of tests for SQLServer, MariaDB, Derby and Oracle 2021-02-12 13:43:42 +01:00
Christian Beikov 4931c7e69f Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-02-10 12:00:37 +01:00
Christian Beikov de1524df68 Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-02-10 11:28:58 +01:00
Christian Beikov 15caff9cbc Fix PostgreSQL cleanup wrt extensions, fix Oracle cleanup wrt sys objects, always drop id tables in tests, fix global temp table tests, add on commit delete rows for hana dialects 2021-02-10 09:30:48 +01:00
Christian Beikov d767d46d05 Fix most tests to work on all DBs and fix a bunch of connection leaks 2021-02-03 17:03:47 +01:00
Christian Beikov 4efffca23b Add support for FETCH clause, CTEs and set operations 2021-01-13 17:24:45 +01:00
Christian Beikov a57f93b14a Use processing stack during parsing to access query spec, fix lots of db2 issues 2020-12-08 11:27:27 +01:00
Christian Beikov e468aeb786 HHH-14336 Enable tests across databases in Github Actions 2020-11-26 17:33:28 +01:00
Christian Beikov 234bfab1ac HHH-14336 Enable tests across databases in Github Actions 2020-11-26 16:15:15 +01:00