[hibernate/hibernate-orm] 044ad2: fix some typecasts
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 044ad2ced3fbeca07bbcf3a12a2f6fda77918b0e
https://github.com/hibernate/hibernate-orm/commit/044ad2ced3fbeca07bbcf3a...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ClassPropertyHolder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/InverseDistributionFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/array/ArrayViaArgumentReturnTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/array/ArrayViaElementArgumentReturnTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/array/ElementViaArrayArgumentReturnTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/array/JsonArrayViaElementArgumentReturnTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/mapping/DependantValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
M hibernate-core/src/main/java/org/hibernate/mapping/Property.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/AbstractIdentifiableType.java
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryParameterBindingImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/inline/InPredicateRestrictionProducer.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/StandardFunctionReturnTypeResolvers.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.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/cte/CteTable.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcParameterBindingsImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/spi/JdbcParameterBindings.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/BasicMetadataGenerator.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/components/dynamic/SimpleEntity.java
Log Message:
-----------
fix some typecasts
Commit: f0fcaff5d296ff74300e8ce5998589d1241d0d4e
https://github.com/hibernate/hibernate-orm/commit/f0fcaff5d296ff74300e8ce...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
R hibernate-core/src/main/java/org/hibernate/type/SerializableToBlobType.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/lob/ExplicitSerializableType.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/lob/ImplicitSerializableType.java
Log Message:
-----------
remove obsolete SerializableToBlobType
I've no idea what this was doing there
Commit: c44456ca5bced3e7145e56d916230c6fc31e5c77
https://github.com/hibernate/hibernate-orm/commit/c44456ca5bced3e7145e56d...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/usertype/DynamicParameterizedType.java
Log Message:
-----------
deprecate DynamicParameterizedType
This was incompletely implemented, features very inelegant naming,
and isn't actually type-safe. It was contributed by a user long ago
and the truth is I probably shouldn't have accepted the contribution.
Commit: e15c9db29f9fb9f6467c05164c6de927cbe87d96
https://github.com/hibernate/hibernate-orm/commit/e15c9db29f9fb9f6467c051...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
R hibernate-core/src/main/java/org/hibernate/type/EnumType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/EnumType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/custom_types/FirstLetterType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/custom_types/LastNumberType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/cdi/lifecycle/ExtendedBeanManagerNotAvailableDuringTypeResolutionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/typedef/NamedEnumUserType.java
M hibernate-core/src/test/resources/org/hibernate/orm/test/mapping/converted/enums/Person.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/orm/test/mapping/converted/enums/mappings.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/orm/test/quote/DataPoint.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/query/hhh12076/Settlement.hbm.xml
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/BasicMetadataGenerator.java
A hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/EnumType.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/ExtendedEnumTypeTest.java
M hibernate-envers/src/test/resources/mappings/customType/mappings.hbm.xml
M hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/StaticClassLists.java
M hibernate-graalvm/src/test/java/org/hibernate/graalvm/internal/StaticClassListsTest.java
Log Message:
-----------
remove deprecated and very obsolete EnumType
Commit: 2a05f8c203992e873151dd2b62fe204698b9687e
https://github.com/hibernate/hibernate-orm/commit/2a05f8c203992e873151dd2...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/custom_types/FirstLetterConverter.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/custom_types/FirstLetterType.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/custom_types/LastLetterConverter.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/custom_types/LastNumberType.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/enums/Common.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/enums/FirstLetter.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/enums/LastNumber.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/enums/Trimmed.java
Log Message:
-----------
remove obsolete/unused enums + custom types from tests
Compare: https://github.com/hibernate/hibernate-orm/compare/abf55433a212...2a05f8c...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
4 days, 5 hours
[hibernate/hibernate-orm] e7a5e0: more cleanups to binders, focussed on FkSecondPass...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: e7a5e098142d18719a7febd307e2e89b335e3580
https://github.com/hibernate/hibernate-orm/commit/e7a5e098142d18719a7febd...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AggregateComponentBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BasicValueBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ColumnsBuilder.java
R hibernate-core/src/main/java/org/hibernate/boot/model/internal/CopyIdentifierComponentSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CreateKeySecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/FkSecondPass.java
R hibernate-core/src/main/java/org/hibernate/boot/model/internal/JoinedSubclassFkSecondPass.java
R hibernate-core/src/main/java/org/hibernate/boot/model/internal/PkDrivenByDefaultMapsIdSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
R hibernate-core/src/main/java/org/hibernate/boot/model/internal/SimpleToOneFkSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ToOneFkSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
Log Message:
-----------
more cleanups to binders, focussed on FkSecondPass stuff
Commit: 286307fd5c12fe2352b86f8577cc3bac13675c08
https://github.com/hibernate/hibernate-orm/commit/286307fd5c12fe2352b86f8...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
Log Message:
-----------
more cleanups to binders, focussed PropertyBinder
Commit: 9ff21ad449af84a1070fa97e5de15cec4e980cc3
https://github.com/hibernate/hibernate-orm/commit/9ff21ad449af84a1070fa97...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BasicValueBinder.java
Log Message:
-----------
more cleanups to binders, make anon class static
Commit: abf55433a212ea8372e480b7bc41f532a82e63ca
https://github.com/hibernate/hibernate-orm/commit/abf55433a212ea8372e480b...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/AutoApplicableConverterDescriptorBypassedImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/AutoApplicableConverterDescriptorStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/convert/spi/AutoApplicableConverterDescriptor.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AbstractPropertyHolder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BasicValueBinder.java
Log Message:
-----------
improve the error message and add comments
Compare: https://github.com/hibernate/hibernate-orm/compare/5867a8fed647...abf5543...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
4 days, 8 hours
[hibernate/hibernate-orm] d1c046: various cleanups + improvements in org.hiberate.bo...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: d1c046e17c8d4d95650de89b473a0560f9920667
https://github.com/hibernate/hibernate-orm/commit/d1c046e17c8d4d95650de89...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AbstractPropertyHolder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotatedColumn.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BasicValueBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionPropertyHolder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/FilterDefBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/IdBagBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/QueryBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/TableBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/XMLContext.java
M hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/mappedsuperclass/MappedSuperClassIdPropertyBasicAttributeOverrideTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/converter/map/MapKeyAttributeConverterTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/UUIDTypeConverterTest.java
Log Message:
-----------
various cleanups + improvements in org.hiberate.boot.model.internal
1. improve/cleanup logging (remove some log messages that don't naively
seem more useful than lots of things we don't log)
2. report problems in AttributeConverter application using an error
instead of a debug-level log message
3. various misc minor code cleanups in the Binders
Commit: c8b0db9da21815e1acaca7fe1f3ecf78a06d2ba7
https://github.com/hibernate/hibernate-orm/commit/c8b0db9da21815e1acaca7f...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/TypeDefinition.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ArrayBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BasicValueBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionPropertyHolder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/DelayedParameterizedTypeBean.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/MapBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/MappingHelper.java
Log Message:
-----------
more code cleanups in org.hiberate.boot.model.internal
Commit: eb56902842949cf3fbb1d0261b06562258fd0c56
https://github.com/hibernate/hibernate-orm/commit/eb56902842949cf3fbb1d02...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/TypeDefinition.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/Collection.java
M hibernate-core/src/main/java/org/hibernate/mapping/MappingHelper.java
Log Message:
-----------
code cleanups around MappingHelper
Commit: a283fc982b9cf7004dcbd97cd4d056a3847a3a2b
https://github.com/hibernate/hibernate-orm/commit/a283fc982b9cf7004dcbd97...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/convert/internal/AbstractConverterDescriptor.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/Any.java
M hibernate-core/src/main/java/org/hibernate/mapping/Array.java
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/Collection.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
M hibernate-core/src/main/java/org/hibernate/mapping/ManyToOne.java
M hibernate-core/src/main/java/org/hibernate/mapping/MappingHelper.java
M hibernate-core/src/main/java/org/hibernate/mapping/OneToMany.java
M hibernate-core/src/main/java/org/hibernate/mapping/OneToOne.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/Value.java
M hibernate-core/src/main/java/org/hibernate/query/internal/ResultMementoBasicStandard.java
M hibernate-core/src/main/java/org/hibernate/type/CustomCollectionType.java
Log Message:
-----------
even code cleanups around MappingHelper and especially class instantiation
Commit: 56a780b9e1f1086eb5fc884656648d5c8ff7c45f
https://github.com/hibernate/hibernate-orm/commit/56a780b9e1f1086eb5fc884...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
Log Message:
-----------
refactor duplicated code in SimpleValue/BasicValue
Commit: 95d5246c90ae4496ea46911f4b12dca5310c6169
https://github.com/hibernate/hibernate-orm/commit/95d5246c90ae4496ea46911...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
M hibernate-core/src/main/java/org/hibernate/id/ExportableColumn.java
M hibernate-core/src/main/java/org/hibernate/mapping/Array.java
M hibernate-core/src/main/java/org/hibernate/mapping/Collection.java
M hibernate-core/src/main/java/org/hibernate/mapping/List.java
M hibernate-core/src/main/java/org/hibernate/mapping/Map.java
M hibernate-core/src/main/java/org/hibernate/mapping/MappingHelper.java
M hibernate-core/src/main/java/org/hibernate/mapping/Set.java
Log Message:
-----------
very minor changes to collection biding code
Compare: https://github.com/hibernate/hibernate-orm/compare/17ea897a9d66...95d5246...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
4 days, 22 hours