Commit Graph

9611 Commits

Author SHA1 Message Date
Yoann Rodière 5eb8ee32c5 HHH-13682 Allow forcing the tested Java version in the Gradle build
... just in case we need that for some cutting-edge JDK, for example 15,
that would not be supported by Gradle yet.
2021-06-03 16:10:37 -07:00
Yoann Rodière 63ab97d09a HHH-13682 Generate Java 13/14 bytecode for tests when building with JDK13/14 2021-06-03 16:10:37 -07:00
Yoann Rodière 9a45c1c9f1 HHH-13682 Remove unnecessary checks around Java 8 compatibility
The build requires JDK8+, so we're alwways Java 8 compatible.
2021-06-03 16:10:37 -07:00
Andrea Boriero 40d82d6370 HHH-14640 : Fix issue with generated pom missing project description 2021-06-03 16:10:37 -07:00
Yoann Rodière c36e2cc543 HHH-13925 Upgrade hibernate-gradle-plugin to Gradle 6 2021-06-03 16:10:37 -07:00
Yoann Rodière 40538e036c HHH-13925 Disable Gradle module metadata publishing until we know what we want 2021-06-03 16:10:37 -07:00
Yoann Rodière 24bcd620ad HHH-13925 Upgrade from the gradle-build-scan plugin to the gradle-enterprise plugin
That's the new name of the plugin in Gradle 6.
2021-06-03 16:10:37 -07:00
Yoann Rodière f1f0a27f7f HHH-13925 Upgrade to Gradle 6 2021-06-03 16:10:37 -07:00
Yoann Rodière f795213e5a HHH-13689 Replace uses of the deprecated osgi plugin with the biz.aQute.bnd plugin
https://docs.gradle.org/5.0-milestone-1/release-notes.html#deprecated-osgi-plugin
2021-06-03 16:10:37 -07:00
Yoann Rodière b301162660 HHH-13685 Move Suppression*CommentFilter to its new place in checkstyle config
See https://stackoverflow.com/a/55266521/6692043
2021-06-03 16:10:37 -07:00
Yoann Rodière 9722cf0fd6 HHH-13685 Remove the obsolete FileContentsHolder module in checkstyle configuration
See https://github.com/checkstyle/checkstyle/issues/3573
2021-06-03 16:10:37 -07:00
Yoann Rodière 564fe3b442 HHH-13685 Upgrade to gradle-karaf-plugin 0.5.1 2021-06-03 16:10:37 -07:00
Yoann Rodière ac61f98aba HHH-13685 Upgrade to maven-repo-auth 3.0.2 2021-06-03 16:10:37 -07:00
Yoann Rodière deb60b5c6b HHH-13685 Increase the heap size for Gradle
Otherwise I get an OutOfMemoryError...
2021-06-03 16:10:37 -07:00
Yoann Rodière 861b3c00aa HHH-13685 Replace uses of deprecated classifier property in Jar tasks with archiveClassifier 2021-06-03 16:10:37 -07:00
Yoann Rodière ff76c01dde HHH-13685 Remove the deprecated "stable publishing" feature flag
It's the default behavior in Gradle 5.
2021-06-03 16:10:37 -07:00
Yoann Rodière d9d44d10d4 HHH-13685 Upgrade to build-scan plugin 2.4.2 2021-06-03 16:10:37 -07:00
Yoann Rodière 87d54abbc2 HHH-13685 Upgrade to gradle-xjc-plugin 2.0.1 2021-06-03 16:10:37 -07:00
Yoann Rodière 5b01411120 HHH-13685 Upgrade to hibernate-matrix-testing 3.0.0.Final 2021-06-03 16:10:37 -07:00
Yoann Rodière e7764ef76d HHH-13685 Upgrade to Gradle 5.6.3 2021-06-03 16:10:37 -07:00
Yoann Rodière af44c7903f HHH-13685 Remove uses of deprecated classesDir 2021-06-03 16:10:37 -07:00
Yoann Rodière a62d92cd64 HHH-13685 Enable the "stable publishing" feature to test it before upgrading to Gradle 5 2021-06-03 16:10:37 -07:00
Gail Badner d7b68ba8ce HHH-14537 : Updated test as requested; added tests that lazy associations with non-existing entity is unaffected.
(cherry picked from commit ad84aaf0bc)
2021-04-20 10:57:51 -07:00
Gail Badner c2bb67515f HHH-14537 EntityNotFoundException thrown when non-existing association with @NotFound(IGNORE) mapped has proxy in PersistenceContext
(cherry picked from commit 3c1e16e06c)
2021-04-20 10:57:51 -07:00
Gail Badner edcf4a6369 HHH-14537 : Added test for issue
(cherry picked from commit 9cb9137fb8)
2021-04-20 10:57:51 -07:00
Andrea Boriero 1685100bc3 5.3.20 2020-11-16 18:07:32 +00:00
Andrea Boriero 64be512b7d 5.3.20 2020-11-16 18:01:02 +00:00
Steve Ebersole bc8e38a9a8 HHH-14325 - Add Query hint for specifying "query spaces" for native queries
(cherry picked from commit be70d49df9)
2020-11-16 10:46:35 -06:00
Steve Ebersole d5067eccf3 HHH-14325 - Add Query hint for specifying "query spaces" for native queries 2020-11-16 10:46:20 -06:00
Andrea Boriero 2896372dd5 HHH-14257 Add test for issue 2020-11-16 09:39:00 +00:00
Andrea Boriero 00b3ccb8ec HHH-14257 An Entity A with a map collection having as index an Embeddable with a an association to the Entity A fails with a NPE 2020-11-16 09:38:56 +00:00
Yoann Rodière bf0b86dfea HHH-14324 Add .gradletasknamecache to .gitignore
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-16 09:18:32 +00:00
Andrea Boriero d22bbb5c33 HHH-14225 CVE-2020-25638 Potential for SQL injection on use_sql_comments logging enabled 2020-11-13 13:34:09 +00:00
Andrea Boriero d48e19d973 5.3.19 2020-11-10 21:37:50 +00:00
Andrea Boriero 3f3d38d40e 5.3.19 2020-11-10 19:32:40 +00:00
Andrea Boriero 23dd258b71 5.3.19 2020-11-10 19:31:18 +00:00
Andrea Boriero 096916e6fa HHH-13310 getParameterValue() not working for collections 2020-11-10 18:53:09 +00:00
Andrea Boriero 36f9360a31 HHH-13310 Add test for issue 2020-11-10 18:52:59 +00:00
Scott Marlow 06fdd27b3d HHH-14196 Add parsing of persistence.xml/orm.xml documents in the EE 9 namespace
Signed-off-by: Scott Marlow <smarlow@redhat.com>
2020-11-10 13:23:57 +00:00
Steve Ebersole 204dc9f9db Fixed Javadoc for `BulkOperationCleanupAction.affectedEntity` 2020-11-10 11:35:03 +00:00
Jan Schatteman c4eacbbd04 HHH-14275 Broken link to Infinispan User Guide in Hibernate 5.3 User Guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2020-11-10 11:35:03 +00:00
Gail Badner 4b088e59b4 5.3.18 2020-08-05 15:40:49 -07:00
Gail Badner 677568d2e6 5.3.18 2020-08-05 14:03:54 -07:00
Andrea Boriero 1cdf75c212 HHH-14077 PostgreSQL, skip testLiteralProjectionAndGroupBy (PostgreSQL does not support literals in group by statement) 2020-08-04 14:58:21 -07:00
Gail Badner 646b383f95 HHH-14077 : CVE-2019-14900 SQL injection issue in Hibernate ORM 2020-08-04 14:58:21 -07:00
Gail Badner d7400b5a08 HHH-14103 : Add test cases showing that an entity's transient attribute can be overridden to be persistent in entity subclasses
(cherry picked from commit fb40f8edc0)
2020-08-04 14:47:41 -07:00
Vlad Mihalcea 7317331108 HHH-13110 - @PreUpdate method on a Embeddable null on the parent caused NullPointerException
(cherry picked from commit 3ff3615d00)
2020-08-03 15:15:36 -07:00
Gail Badner 23fae34ea9 Revert "HHH-14096 Remove unused import for deprecated type XmlDocument and dom4j"
Imports are required for 5.3 branch

This reverts commit 5ead0e4dd5.
2020-08-03 15:12:51 -07:00
Sanne Grinovero 6635bc5e26 HHH-14096 Transform the XMLHelper copy for Envers into a private internal utility
(cherry picked from commit 2f7271c3b2)
2020-08-03 15:12:51 -07:00
Sanne Grinovero 3a716477e8 HHH-14096 Adapt the Hibernate Envers module to use its private copy of XMLHelper
(cherry picked from commit ef5d277df9)
2020-08-03 15:12:51 -07:00