[hibernate/hibernate-validator] 347eaa: HV-1881 Move the tests to log4j2
by Guillaume Smet
Branch: refs/heads/6.0
Home: https://github.com/hibernate/hibernate-validator
Commit: 347eaafcc1655be030d2abcd6ed47ec67beee60a
https://github.com/hibernate/hibernate-validator/commit/347eaafcc1655be03...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M cdi/pom.xml
M distribution/pom.xml
M distribution/src/main/assembly/dist.xml
M engine/pom.xml
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ParameterMessageInterpolatorTest.java
R engine/src/test/resources/log4j.properties
A engine/src/test/resources/log4j2.properties
M integration/pom.xml
M integration/src/test/java/org/hibernate/validator/integration/wildfly/CustomValidationProviderInDeploymentUnitIT.java
M integration/src/test/java/org/hibernate/validator/integration/wildfly/JndiLookupOfValidatorFactoryIT.java
M integration/src/test/java/org/hibernate/validator/integration/wildfly/jpa/CustomValidatorFactoryInPersistenceUnitIT.java
M osgi/integrationtest/pom.xml
M pom.xml
M test-utils/pom.xml
R test-utils/src/main/java/org/hibernate/validator/testutil/MessageLoggedAssertionLogger.java
Log Message:
-----------
HV-1881 Move the tests to log4j2
(cherry picked from commit 903880409f5e1819933595b9541ce552df28f73f)
2 years, 10 months
[hibernate/hibernate-orm] eb5723: Implemented NamedQuery creation from Criteria
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: eb572376a9a870fa3d03c9058647adb783af85a7
https://github.com/hibernate/hibernate-orm/commit/eb572376a9a870fa3d03c90...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/NamedHqlQueryDefinitionImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/query/NamedHqlQueryDefinition.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/internal/NamedCriteriaQueryMementoImpl.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/NamedHqlQueryMementoImpl.java
M hibernate-core/src/main/java/org/hibernate/query/hql/package-info.java
R hibernate-core/src/main/java/org/hibernate/query/hql/spi/NamedHqlQueryMemento.java
M hibernate-core/src/main/java/org/hibernate/query/hql/spi/SqmQueryImplementor.java
M hibernate-core/src/main/java/org/hibernate/query/internal/NamedObjectRepositoryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/named/NamedObjectRepository.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractSelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/QuerySqmImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmSelectionQueryImpl.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/spi/NamedSqmQueryMemento.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/compliance/NamedQueryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/AddNamedQueryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/named/simple/SimpleNamedQueryTests.java
Log Message:
-----------
Implemented NamedQuery creation from Criteria
2 years, 10 months
[hibernate/hibernate-validator] 45d35e: HV-1879 Add Maven profile to improve contributor e...
by Guillaume Smet
Branch: refs/heads/6.0
Home: https://github.com/hibernate/hibernate-validator
Commit: 45d35ed630d9bcdabe596296285657589037f5e5
https://github.com/hibernate/hibernate-validator/commit/45d35ed630d9bcdab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M pom.xml
Log Message:
-----------
HV-1879 Add Maven profile to improve contributor experience on Intellij IDEA
Commit: 7ee9143bcc15204ba62c4bcbdffedcbb1e767dd3
https://github.com/hibernate/hibernate-validator/commit/7ee9143bcc15204ba...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M pom.xml
Log Message:
-----------
HV-1879 Backport HV-1811 Upgrade to Bean Validation TCK 2.0.6
Commit: ad31fd7a4bc781b6fc4872d8058c3321f311eb11
https://github.com/hibernate/hibernate-validator/commit/ad31fd7a4bc781b6f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M engine/src/test/java/org/hibernate/validator/test/internal/engine/methodvalidation/AbstractMethodValidationTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/methodvalidation/AnnotationBasedMethodValidationTest.java
M pom.xml
Log Message:
-----------
HV-1879 Backport HV-1809 Upgrade to TestNG 6.14.3
Necessary to upgrade to Arquillian 1.6+, which depends on some
methods that weren't defined in TestNG 6.8.
Note we have to change AbstractMethodValidationTest to avoid calling
assertEquals(someObject, aProxyForThisObject), because TestNG 6.14.3
actually calls someObject.equals(aProxyForThisObject) under the hood,
and this obviously doesn't work unless equals is overridden.
Commit: 9e268da60e5e9e0fe2285503e95fd3339be2c8f0
https://github.com/hibernate/hibernate-validator/commit/9e268da60e5e9e0fe...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M tck-runner/src/test/resources/test.policy
Log Message:
-----------
HV-1879 Backport HV-1809 Fix the Security Manager policy following the TestNG upgrade
Commit: 092f4e09541f656fe17206982b6a86016fa38073
https://github.com/hibernate/hibernate-validator/commit/092f4e09541f656fe...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M tck-runner/pom.xml
Log Message:
-----------
HV-1879 Backport HV-1809 Disable parallel test execution in the tck-runner following the TestNG upgrade
There seem to be problems with running tests in parallel with TestNG 6.14:
we end up with archive content being mixed between threads,
which leads to really cryptic errors in the SecurityManager (because we
try to load a resource when we shouldn't have... ?).
Anyway, the tests don't take that long to execute, so let's avoid this
source of errors?
Commit: f90ca8a882b568bbb99f70d3ec52265a0241fec9
https://github.com/hibernate/hibernate-validator/commit/f90ca8a882b568bbb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M pom.xml
M tck-runner/src/test/java/org/hibernate/validator/tckrunner/securitymanager/arquillian/LocalSecurityManagerTestingExecutionEvent.java
Log Message:
-----------
HV-1879 Backport HV-1810 Upgrade to Arquillian 1.6.0.Final
To upgrade Shrinkwrap, which apparently doesn't work well with
non-default local Maven repos in older versions.
Commit: c199fab2394495d5997e9ee59f6c0c27fe2ca604
https://github.com/hibernate/hibernate-validator/commit/c199fab2394495d59...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M osgi/felixtest/pom.xml
M pom.xml
Log Message:
-----------
HV-1879 Backport HV-1810 Upgrade to payara-arquillian 2.3.1
The upgrade is necessary to upgrade to Arquillian 1.6.
Commit: 95dbbc566bfcc0f49ff3e792effdc0f279c040b9
https://github.com/hibernate/hibernate-validator/commit/95dbbc566bfcc0f49...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M osgi/felixtest/pom.xml
M osgi/felixtest/src/test/java/org/hibernate/validator/osgi/felix/FelixCDIIT.java
Log Message:
-----------
HV-1879 Backport HV-1810 Include TestNG and dependencies in the Payara deployment in FelixCDIIT
Arquillian already includes TestNG in the deployment as part of its own
jar (WTH?), but apparently it forgets about TestNG's dependencies, in
particular JCommander.
Commit: c186334e140c606b4b01e4dfaa85c688d3f602ba
https://github.com/hibernate/hibernate-validator/commit/c186334e140c606b4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M pom.xml
Log Message:
-----------
HV-1879 Backport HV-1806 Upgrade to pax-url 2.5.4
This looks necessary to set some Maven-related settings; pax-url 2.5.2
ignores them (?).
Commit: ea83235d51ebb754cddaed065c0be3c63f9861de
https://github.com/hibernate/hibernate-validator/commit/ea83235d51ebb754c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M osgi/integrationtest/pom.xml
M osgi/integrationtest/src/test/java/org/hibernate/validator/osgi/integrationtest/KarafFeaturesAreInstallableTest.java
M osgi/integrationtest/src/test/java/org/hibernate/validator/osgi/integrationtest/OsgiIntegrationTest.java
Log Message:
-----------
HV-1879 Backport HV-1806 Make sure Karaf-based tests use the same local Maven repository as the Maven build
Otherwise, when the Maven local repository of the Maven build isn't the
default one, Pax-Exam ends up not finding OSGi artifacts we just built.
Commit: a026bafd8a50ceca642c81a370523afff5e9907f
https://github.com/hibernate/hibernate-validator/commit/a026bafd8a50ceca6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M pom.xml
Log Message:
-----------
HV-1879 Backport HV-1806 Make sure that Shrinkwrap-based tests use the same local Maven repository as the Maven build
Otherwise, when the Maven local repository of the Maven build isn't the
default one, Shrinkwrap may end up not finding artifacts we already downloaded.
Commit: 1b7670834e2e841943ae5b2447fffa7232f5e32c
https://github.com/hibernate/hibernate-validator/commit/1b7670834e2e84194...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M pom.xml
Log Message:
-----------
HV-1879 Backport HV-1805 Add suffixes to test reports to more easily distinguish between multiple executions of the same test in the same Jenkins job
Commit: 0e4b0d728104c28f38faaa3ef3374e8a655c4880
https://github.com/hibernate/hibernate-validator/commit/0e4b0d728104c28f3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
A Jenkinsfile
Log Message:
-----------
HV-1879 Backport HV-1805 Copy and adapt Jenkinsfile from Hibernate Search
Commit: 4d1170b54611dfc5d72dce5f5a76ae087f8d750b
https://github.com/hibernate/hibernate-validator/commit/4d1170b54611dfc5d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HV-1879 Backport HV-1805 Run the TCK with WildFly in the Jenkinsfile
Commit: 035e8ea85dd1897e234634f4ed9ed8af57084c2b
https://github.com/hibernate/hibernate-validator/commit/035e8ea85dd1897e2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HV-1879 Backport HV-1805 Run sigtests and JQAssistant as part of the default Jenkinsfile build
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: ef7fb553c752e9edb0a4aedc319794c0662ddaf8
https://github.com/hibernate/hibernate-validator/commit/ef7fb553c752e9edb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HV-1879 Backport HV-1848 Set up SSH config as part of the Jenkinsfile
Commit: 42143ea006ebb4ff781ad9e0cb9becff0cfd1d61
https://github.com/hibernate/hibernate-validator/commit/42143ea006ebb4ff7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HV-1879 Backport HV-1860 Add GitHub SSH keys to SSH agent during Jenkinsfile release
Commit: 9a3ee4bb8b9cf7980b1b0ebc842af35710691bab
https://github.com/hibernate/hibernate-validator/commit/9a3ee4bb8b9cf7980...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M build-config/pom.xml
M distribution/pom.xml
M documentation/pom.xml
M integration/pom.xml
M osgi/felixtest/pom.xml
M osgi/integrationtest/pom.xml
M performance/pom.xml
M pom.xml
M tck-runner/pom.xml
Log Message:
-----------
HV-1871 Use maven-gpg-plugin on release
Commit: 5ebbed22a4222331d6a41e3619f045b7c4ade976
https://github.com/hibernate/hibernate-validator/commit/5ebbed22a4222331d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M Jenkinsfile
M pom.xml
Log Message:
-----------
HV-1871 Sign artifacts in Jenkinsfile releases
Commit: 60b498fc23586dc052a45423be18d1b536ea5dad
https://github.com/hibernate/hibernate-validator/commit/60b498fc23586dc05...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M Jenkinsfile
A jenkins/release.groovy
Log Message:
-----------
HV-1877 Move the release job to a separate Jenkinsfile
Commit: f970edc3ba6e0fdca5773597ac34a77b30c2587c
https://github.com/hibernate/hibernate-validator/commit/f970edc3ba6e0fdca...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HV-1877 Remove the now unnecessary "Deploy" stage from the Jenkinsfile
Commit: dd56c206348431cbdd14604432e6dc5138bf5842
https://github.com/hibernate/hibernate-validator/commit/dd56c206348431cbd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HV-1877 Abort previous non-release builds on the same branch/PR when starting a new build
Commit: 6d05a7c839652d231f1dcb6715a955a670337263
https://github.com/hibernate/hibernate-validator/commit/6d05a7c839652d231...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M Jenkinsfile
M jenkins/release.groovy
Log Message:
-----------
HV-1877 Keep fewer builds in the Jenkins history
Commit: b6ab62b11a3e4da699327364003a2995c86c200a
https://github.com/hibernate/hibernate-validator/commit/b6ab62b11a3e4da69...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M jenkins/release.groovy
Log Message:
-----------
HV-1877 Keep releasing 6.0 branch with Oracle JDK 8
Compare: https://github.com/hibernate/hibernate-validator/compare/614157dd4f64...b...
2 years, 10 months
[hibernate/hibernate-orm] 65e282: test showing 'join treat' broken for @OneToMany
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 65e282766cad21fcf88d8d97691579a707c5d6cf
https://github.com/hibernate/hibernate-orm/commit/65e282766cad21fcf88d8d9...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M documentation/src/test/java/org/hibernate/userguide/hql/HQLTest.java
Log Message:
-----------
test showing 'join treat' broken for @OneToMany
Commit: 0a5b62421eaa8f165dcaea35cf6306e09273252c
https://github.com/hibernate/hibernate-orm/commit/0a5b62421eaa8f165dcaea3...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/H2SqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/function/SelfRenderingSqmAggregateFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/FakeSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/SqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ColumnReference.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/TreatKeywordTest.java
Log Message:
-----------
Fix treat join issue with one-to-many and make sure table pruning always works. Also fix some issues with union subclass pruning
Commit: cab03a238debab40fd2dd6daa95c54da025a8d05
https://github.com/hibernate/hibernate-orm/commit/cab03a238debab40fd2dd6d...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/treat/HqlTreatTest.java
Log Message:
-----------
Add treat test for TCK compliance
Commit: 89bf82fee4d18802525b453518200d28851ed504
https://github.com/hibernate/hibernate-orm/commit/89bf82fee4d18802525b453...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
Log Message:
-----------
Avoid eagerly resolving secondary tables when using discriminator path
Compare: https://github.com/hibernate/hibernate-orm/compare/ccee58add804...89bf82f...
2 years, 10 months
[hibernate/hibernate-validator] b66b2b: HV-1878 Bring back java.sql.Date support
by Guillaume Smet
Branch: refs/heads/6.2
Home: https://github.com/hibernate/hibernate-validator
Commit: b66b2be190d1f14d9cf1b75e702bf1171c9ce9d1
https://github.com/hibernate/hibernate-validator/commit/b66b2be190d1f14d9...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForDate.java
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/futureorpresent/FutureOrPresentValidatorForDate.java
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForDate.java
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/pastorpresent/PastOrPresentValidatorForDate.java
M engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/time/ClockProviderFutureTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/time/ClockProviderPastTest.java
A engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/time/FixedClockProvider.java
A engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/time/JavaSqlDateTest.java
Log Message:
-----------
HV-1878 Bring back java.sql.Date support
Commit: 8516254052238bb328cbd12f2f14626fff1576c1
https://github.com/hibernate/hibernate-validator/commit/8516254052238bb32...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
R documentation/src/main/Gemfile
R documentation/src/main/Gemfile.lock
R documentation/src/main/Guardfile
Log Message:
-----------
HV-1880 Clean up Gemfile.lock that shouldn't be there
Compare: https://github.com/hibernate/hibernate-validator/compare/d314349f4264...8...
2 years, 10 months