[hibernate/hibernate-validator] c440d8: HV-1812 Avoid reflection-based metadata extraction...
by Guillaume Smet
Branch: refs/heads/6.2
Home: https://github.com/hibernate/hibernate-validator
Commit: c440d89c5aaa024a79ef3a5fa799b484c201d5dd
https://github.com/hibernate/hibernate-validator/commit/c440d89c5aaa024a7...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/BooleanArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ByteArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/CharArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/DoubleArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/FloatArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/IntArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/IterableValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ListPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ListValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/LongArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapKeyExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapPropertyKeyExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ObjectArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ObservableValueValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalDoubleValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalIntValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalLongValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlyListPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlyMapPropertyKeyExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlyMapPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlySetPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/SetPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ShortArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ValueExtractorDescriptor.java
Log Message:
-----------
HV-1812 Avoid reflection-based metadata extraction for built-in value extractors
3 years, 11 months
[hibernate/hibernate-validator] a5c068: HV-1816 Disable Expression Language by default for...
by Guillaume Smet
Branch: refs/heads/6.2
Home: https://github.com/hibernate/hibernate-validator
Commit: a5c06889f20415d98224f24f8d7a85b5a33f8950
https://github.com/hibernate/hibernate-validator/commit/a5c06889f20415d98...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M documentation/src/main/asciidoc/ch06.asciidoc
M documentation/src/main/asciidoc/ch12.asciidoc
M documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/SafeValidator.java
M documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/UnsafeValidator.java
M engine/src/main/java/org/hibernate/validator/constraintvalidation/HibernateConstraintValidatorContext.java
A engine/src/main/java/org/hibernate/validator/constraintvalidation/HibernateConstraintViolationBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/engine/MessageInterpolatorContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintViolationCreationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/CrossParameterConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/AbstractValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/AbstractMessageInterpolator.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/HibernateMessageInterpolatorContext.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/constraintvalidation/HibernateConstraintValidatorContextTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ExpressionLanguageMessageInterpolationTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/MessageInterpolatorContextTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ResourceBundleMessageInterpolatorTest.java
Log Message:
-----------
HV-1816 Disable Expression Language by default for custom constraint violations
Commit: 9bd16b1b49c2dbf7c86c7af32218db0dab1a536c
https://github.com/hibernate/hibernate-validator/commit/9bd16b1b49c2dbf7c...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M documentation/src/main/asciidoc/ch04.asciidoc
M documentation/src/main/asciidoc/ch12.asciidoc
M documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/UnsafeValidator.java
A documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/el/ElFeaturesTest.java
M engine/src/main/java/org/hibernate/validator/BaseHibernateValidatorConfiguration.java
M engine/src/main/java/org/hibernate/validator/constraintvalidation/HibernateConstraintViolationBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/engine/AbstractConfigurationImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/MessageInterpolatorContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/PredefinedScopeValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryConfigurationHelper.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryScopedContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintViolationCreationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/CrossParameterConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/ElTermResolver.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/BeanMethodsELContext.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/BeanPropertiesELResolver.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/BeanPropertiesElContext.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/DisabledFeatureELException.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/NoOpElResolver.java
R engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/SimpleELContext.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/VariablesELContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/AbstractValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/ParameterExecutableValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/ValidatorScopedContext.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/AbstractMessageInterpolator.java
A engine/src/main/java/org/hibernate/validator/messageinterpolation/ExpressionLanguageFeatureLevel.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/HibernateMessageInterpolatorContext.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/ParameterMessageInterpolator.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/ResourceBundleMessageInterpolator.java
M engine/src/test/java/org/hibernate/validator/test/constraints/ConstraintValidatorContextImplTest.java
A engine/src/test/java/org/hibernate/validator/test/el/ConstraintExpressionLanguageFeatureLevelTest.java
A engine/src/test/java/org/hibernate/validator/test/el/CustomViolationExpressionLanguageFeatureLevelTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ExpressionLanguageMessageInterpolationTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/MessageInterpolatorContextTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ResourceBundleMessageInterpolatorTest.java
M engine/src/test/java/org/hibernate/validator/testutils/ValidatorUtil.java
M engine/src/test/resources/log4j2.properties
A engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-bean-methods.xml
A engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-default.xml
A engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-bean-methods.xml
A engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-default.xml
Log Message:
-----------
HV-1816 Limit the EL features exposed by default
Compare: https://github.com/hibernate/hibernate-validator/compare/56d443dbb5f4...9...
3 years, 11 months
[hibernate/hibernate-orm] 234bfa: HHH-14336 Enable tests across databases in Github ...
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 234bfab1acbcecf315722ad38f81cc664be2013c
https://github.com/hibernate/hibernate-orm/commit/234bfab1acbcecf315722ad...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2020-11-26 (Thu, 26 Nov 2020)
Changed paths:
A .github/workflows/contributor-build.yml
M .travis.yml
A ci/before-cache.sh
A ci/build-github.sh
A ci/build-travis.sh
A ci/build.sh
A databases/db2/matrix.gradle
A databases/db2/resources/hibernate.properties
M databases/mssqlserver/matrix.gradle
M databases/mssqlserver/resources/hibernate.properties
A docker_db.sh
M gradle/libraries.gradle
Log Message:
-----------
HHH-14336 Enable tests across databases in Github Actions
Commit: 36d9ec4040348fb00f69723882308c5de730a5ab
https://github.com/hibernate/hibernate-orm/commit/36d9ec4040348fb00f69723...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2020-11-26 (Thu, 26 Nov 2020)
Changed paths:
M .github/workflows/contributor-build.yml
M ci/before-cache.sh
M ci/build-github.sh
M ci/build-travis.sh
M ci/build.sh
Log Message:
-----------
Fix permissions and typo
Commit: b08fbdaa6e8f0362e3c7384dc85a9aa4e51120d2
https://github.com/hibernate/hibernate-orm/commit/b08fbdaa6e8f0362e3c7384...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/CodeTemplates.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/LazyAttributesMetadata.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/BytecodeEnhancementMetadataPojoImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/dirty/DirtyTrackingCollectionInDefaultFetchGroupTest.java
Log Message:
-----------
HHH-14348 Special handling in bytecode enhancement for lazy PersistentCollection fields
Commit: e2dbf52abed6e07ea21de865b49f7bfaa7f161da
https://github.com/hibernate/hibernate-orm/commit/e2dbf52abed6e07ea21de86...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/LazyAttributesMetadata.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/BytecodeEnhancementMetadataPojoImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
Log Message:
-----------
Restore collectionsInDefaultFetchGroupEnabled usage in LazyAttributesMetadata
Commit: 3434293a7e2caeb0e13b30f05ba38bb3db32664f
https://github.com/hibernate/hibernate-orm/commit/3434293a7e2caeb0e13b30f...
Author: info(a)kawoolutions.com <info(a)kawoolutions.com>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/NestedIdClassTest.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedPlayerStat.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedPlayerStatId.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedScore.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedScoreId.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedStat.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedStatId.java
Log Message:
-----------
Test case for HHH-14343
Commit: 8ded205b5f132f256e51d69260fe56f53b5aeec4
https://github.com/hibernate/hibernate-orm/commit/8ded205b5f132f256e51d69...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/CopyIdentifierComponentSecondPass.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
Log Message:
-----------
HHH-14343 Fix quoting of column names when globally quoted identifiers is active
Commit: 3de7fb653ec3ad4cef2f8bd53a4aaf877255c413
https://github.com/hibernate/hibernate-orm/commit/3de7fb653ec3ad4cef2f8bd...
Author: Michael Edgar <michael(a)xlate.io>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/AbstractManagedType.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/metadata/MetadataTest.java
Log Message:
-----------
HHH-14346 Check declaredPluralAttributes for null before access
Commit: 53a5c7fa97e0c813e257e9ba381c06fa09d7b668
https://github.com/hibernate/hibernate-orm/commit/53a5c7fa97e0c813e257e9b...
Author: nicklas.wallgren <Nw0601ST>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/LockOptions.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDB103Dialect.java
Log Message:
-----------
HHH-14350 MariaDB103Dialect requires the lock wait timeout to be expressed in seconds
Commit: 900da12419e05d8770a4ff691e3a2324914f44f0
https://github.com/hibernate/hibernate-orm/commit/900da12419e05d8770a4ff6...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/hql/UpdateEntityWithEmbeddedTest.java
Log Message:
-----------
HHH-14251 Add test for issue
Commit: 93766500972825e992e5437b687adaf6d3988e1c
https://github.com/hibernate/hibernate-orm/commit/93766500972825e992e5437...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/DotNode.java
Log Message:
-----------
HHH-14251 Invalid SQL for @Embedded UPDATE
Commit: e7bcc03ede5f5266fa4111c90498e86a6f4b8779
https://github.com/hibernate/hibernate-orm/commit/e7bcc03ede5f5266fa4111c...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/BinaryLogicOperatorNode.java
Log Message:
-----------
HHH-14251 Fix issue for Dialects not supporting row value constructor Syntax
Commit: cf9d4ec3b3d00265809fd40082f4602e1994d82d
https://github.com/hibernate/hibernate-orm/commit/cf9d4ec3b3d00265809fd40...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/BinaryLogicOperatorNode.java
Log Message:
-----------
HHH-14242 Fix issue for Dialects supporting row value constructor Syntax but not in the SET clause
Commit: b9e7cc3c930d9f05c8bb414fd1757960d66168bb
https://github.com/hibernate/hibernate-orm/commit/b9e7cc3c930d9f05c8bb414...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-12-01 (Tue, 01 Dec 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/LockOptions.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/CodeTemplates.java
M hibernate-core/src/main/java/org/hibernate/cfg/CopyIdentifierComponentSecondPass.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDB103Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/metadata/MetadataTest.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/dirty/DirtyTrackingCollectionInDefaultFetchGroupTest.java
A hibernate-core/src/test/java/org/hibernate/test/hql/UpdateEntityWithEmbeddedTest.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/NestedIdClassTest.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedPlayerStat.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedPlayerStatId.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedScore.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedScoreId.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedStat.java
A hibernate-core/src/test/java/org/hibernate/test/mapping/hhh14343/entity/NestedStatId.java
Log Message:
-----------
Merge remote-tracking branch 'upstream/master' into wip/6.0
Compare: https://github.com/hibernate/hibernate-orm/compare/a239e343b35b...b9e7cc3...
3 years, 11 months