[hibernate/hibernate-orm] e3ed30: Revert "disable fragile test"
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: e3ed3028c40f00bdf872781f51f2872b48fcbe49
https://github.com/hibernate/hibernate-orm/commit/e3ed3028c40f00bdf872781...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
A hibernate-community-dialects/src/test/java/org/hibernate/community/dialect/InformixDialectTestCase.java
Log Message:
-----------
Revert "disable fragile test"
This reverts commit 2d3b787fc02c1182f862d50ff7e81344cbbad66d.
Commit: 196d7a1b5a4f4bd91fde02d7914a32ba35bf33f5
https://github.com/hibernate/hibernate-orm/commit/196d7a1b5a4f4bd91fde02d...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M hibernate-community-dialects/src/test/java/org/hibernate/community/dialect/InformixDialectTestCase.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/ChrLiteralEmulation.java
M hibernate-core/src/main/java/org/hibernate/metamodel/MappingMetamodel.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/MappingMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/NodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/function/AbstractSqmFunctionDescriptor.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/ArgumentTypesValidator.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/ArgumentsValidator.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/StandardArgumentsValidators.java
Log Message:
-----------
resolve an issue with ArgumentsValidator and access to the MappingMetamodel
(ideally we should never access the MappingMetamodel from ArgumentsValidator)
Commit: 1074891a360a073298577e8c2fa17e035ae261c4
https://github.com/hibernate/hibernate-orm/commit/1074891a360a073298577e8...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryImplementor.java
A hibernate-core/src/main/java/org/hibernate/internal/QueryParameterBindingTypeResolverImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/MappingMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/spi/MappingMetamodelImplementor.java
M hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureCallImpl.java
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryParameterBindingImpl.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractCommonQueryContract.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngineOptions.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryParameterBindingTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/AbstractJdbcParameter.java
Log Message:
-----------
migrate to accessing QueryParameterBindingTypeResolver via MappingMetamodelImplementor
it's just not elegant to have it as a supertype of SessionFactoryImplementor (so deprecate that)
Commit: 08de2ff104ea221a4ef4258a1204c30df4347e36
https://github.com/hibernate/hibernate-orm/commit/08de2ff104ea221a4ef4258...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/ArgumentTypesValidator.java
Log Message:
-----------
after all that, we've decided that a better solution is to coerce the enum to the right type
so I'm going to accept both interpretations of the enum, which is better for the user,
and this is also much cleaner implementation-wise
This effectively rolls back most of the previous work on HHH-15711
Compare: https://github.com/hibernate/hibernate-orm/compare/9369fbd59781...08de2ff...
1 year, 11 months
[hibernate/hibernate-search] f996c4: HSEARCH-4771 Restore backwards compatibility in Po...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: f996c4f6bdee021c949243c06baf2a958b238877
https://github.com/hibernate/hibernate-search/commit/f996c4f6bdee021c9492...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeDelegateImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/spi/PojoScopeDelegate.java
Log Message:
-----------
HSEARCH-4771 Restore backwards compatibility in PojoScopeDelegate
Commit: 7dd57f318219bae6bfd2e8eea7cc3d887ae76842
https://github.com/hibernate/hibernate-search/commit/7dd57f318219bae6bfd2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/IndexManagerBackendContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/ElasticsearchIndexWorkspace.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/execution/impl/WorkExecutionBackendContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/IndexManagerBackendContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/execution/impl/LuceneIndexWorkspace.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/execution/impl/WorkExecutionBackendContext.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexManagerImplementor.java
M engine/src/main/java/org/hibernate/search/engine/backend/session/spi/DetachedBackendSessionContext.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/impl/MappedIndexManagerImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexManager.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/scope/impl/SearchScopeImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoDefaultMassIndexer.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/impl/PojoMassIndexingBatchCoordinator.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/massindexing/spi/PojoMassIndexingMappingContext.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeDelegateImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/spi/PojoScopeDelegate.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoScopeWorkspaceImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoWorkIndexedTypeContext.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/scope/impl/SearchScopeImpl.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/session/impl/StandalonePojoSearchSession.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexManager.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexWorkspace.java
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/BulkIndexer.java
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/StubMappedIndex.java
Log Message:
-----------
HSEARCH-4771 Deprecate the concept of "DetachedBackendSessionContext"
Compare: https://github.com/hibernate/hibernate-search/compare/eede375b18a7...7dd5...
1 year, 11 months
[hibernate/hibernate-orm] e3f1c2: HHH-15960 make @Comment annotation repeatable and ...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: e3f1c2741d0981291f142c65a8d21d7edd5ba750
https://github.com/hibernate/hibernate-orm/commit/e3f1c2741d0981291f142c6...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M documentation/src/test/java/org/hibernate/userguide/pc/FilterSqlFragementAliasTest.java
M hibernate-core/src/main/java/org/hibernate/annotations/Comment.java
A hibernate-core/src/main/java/org/hibernate/annotations/Comments.java
A hibernate-core/src/main/java/org/hibernate/binder/internal/CommentsBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/comment/CommentsTest.java
Log Message:
-----------
HHH-15960 make @Comment annotation repeatable and properly test it
I didn't quite nail this one first time round :-/
1 year, 11 months