Commit Graph

93 Commits

Author SHA1 Message Date
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