[hibernate/hibernate-search] 8b1ea4: HSEARCH-4645 Add negating predicate to predicate f...
by Marko Bekhta
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 8b1ea43e63dae46b01f052522484a2dcca87c045
https://github.com/hibernate/hibernate-search/commit/8b1ea43e63dae46b01f0...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/NotPredicateFinalStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/SearchPredicateFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/NotPredicateFinalStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/spi/AbstractSearchPredicateFactory.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/NotPredicateBaseIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/NotPredicateSpecificsIT.java
Log Message:
-----------
HSEARCH-4645 Add negating predicate to predicate factory
Commit: 48dddf66e7f5c019efc7e3901a74472d27f5d826
https://github.com/hibernate/hibernate-search/commit/48dddf66e7f5c019efc7...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/AbstractElasticsearchPredicate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchBooleanPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/AbstractLuceneSearchPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneBooleanPredicate.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/NotPredicateSpecificsIT.java
Log Message:
-----------
HSEARCH-4645 Simplify nested not predicates
Commit: 4476287ef8acbee97849e4da082d6a1e7872a610
https://github.com/hibernate/hibernate-search/commit/4476287ef8acbee97849...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchBooleanPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneBooleanPredicate.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/NotPredicateSpecificsIT.java
Log Message:
-----------
HSEARCH-4645 Adjust optimization for multiple must/mustNot clauses
Commit: 1149191fd2935e9989c884c529d8e96b10166295
https://github.com/hibernate/hibernate-search/commit/1149191fd2935e9989c8...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
A integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/search/query/ElasticsearchBoolSearchPredicateIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneBoolSearchPredicateIT.java
Log Message:
-----------
HSEARCH-4645 Add backend specific tests to check bool query optimizations
Commit: 4fd0fb0ab05bf9141f88a5e2202a4e0c0269824e
https://github.com/hibernate/hibernate-search/commit/4fd0fb0ab05bf9141f88...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchBooleanPredicate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchMatchAllPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneBooleanPredicate.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/search/query/ElasticsearchBoolSearchPredicateIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/search/LuceneBoolSearchPredicateIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/NotPredicateBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/NotPredicateSpecificsIT.java
Log Message:
-----------
HSEARCH-4645 Add match_all must clause for not predicate
Commit: 4d386ec6975f02a5f8c5360d2ecae1d450275fd3
https://github.com/hibernate/hibernate-search/commit/4d386ec6975f02a5f8c5...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/dsl/DSLTest.java
Log Message:
-----------
HSEARCH-4645 Update v5 test to account for bool query optimizations
Compare: https://github.com/hibernate/hibernate-search/compare/73cc6bdcd493...4d38...
1 year, 11 months
[hibernate/hibernate-orm] 6f4fe4: update log message about hibernate.create_empty_co...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 6f4fe47c54206df8a46362d454633d8849c47774
https://github.com/hibernate/hibernate-orm/commit/6f4fe47c54206df8a46362d...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
Log Message:
-----------
update log message about hibernate.create_empty_composites.enabled
Commit: 1fd45b607c2c422b425d2ce55d6e10e3b72a8644
https://github.com/hibernate/hibernate-orm/commit/1fd45b607c2c422b425d2ce...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CUBRIDDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DerbyLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/ColumnAliasExtractor.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
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/dialect/RowLockStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/DefaultSchemaNameResolver.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/spi/SchemaNameResolver.java
M hibernate-core/src/main/java/org/hibernate/procedure/internal/StandardCallableStatementSupport.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/FetchClauseType.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/SqmMutationStrategyHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/AfterUseAction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/spi/SqmMultiTableMutationStrategy.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/HibernateSchemaManagementTool.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardForeignKeyExporter.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobJavaType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/foreignkeys/ForeignKeyDropTest.java
Log Message:
-----------
thorough jdoc review and trivial changes to Dialect
Compare: https://github.com/hibernate/hibernate-orm/compare/9dad80c2582c...1fd45b6...
1 year, 11 months
[hibernate/hibernate-orm] ecf4d3: make Dialect implement TypeContributor and Functio...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: ecf4d30c50ec27fa629aa97a5382b90a84fcc033
https://github.com/hibernate/hibernate-orm/commit/ecf4d30c50ec27fa629aa97...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CUBRIDDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CacheDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CockroachLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2iLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2zLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DerbyLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/FirebirdDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/H2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/HSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/InformixDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MariaDBLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MaxDBDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MimerSQLDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/OracleLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/PostgreSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/PostgresPlusLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/RDMSOS2200Dialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLServerLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLiteDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseAnywhereDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TimesTenDialect.java
M hibernate-core/src/main/java/org/hibernate/boot/model/FunctionContributor.java
M hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2zDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbySqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HANAColumnStoreDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java
Log Message:
-----------
make Dialect implement TypeContributor and FunctionContributor
there is little *concrete* benefit to this change, and it's slightly break-y but:
- it removes a dependence on the @Incubating type QueryEngine from Dialect
- we eat our own dogfood, that is, use our own abstractions
- it appears that this was how it was *originally* intended to be
Commit: 1117436090f7ebbf0a9038ecb857c607c7e81b2a
https://github.com/hibernate/hibernate-orm/commit/1117436090f7ebbf0a9038e...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/FunctionContributor.java
Log Message:
-----------
Update hibernate-core/src/main/java/org/hibernate/boot/model/FunctionContributor.java
Co-authored-by: Steve Ebersole <steve(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-orm/compare/9080a387fa88...1117436...
1 year, 11 months
[hibernate/hibernate-orm] fc57bd: HHH-15973 hibernate-envers tests must rely on Shar...
by Loïc LEFEVRE
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: fc57bd6a1788049fce28f9b997ecd20a8f956e86
https://github.com/hibernate/hibernate-orm/commit/fc57bd6a1788049fce28f9b...
Author: LLEFEVRE <loic.lefevre(a)gmail.com>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/AbstractOneSessionTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/entities/converter/BasicModelingTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/strategy/AuditStraegySelectorTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integrator/BasicIntegratorTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/various/ExportIdentifierTest.java
Log Message:
-----------
HHH-15973 hibernate-envers tests must rely on SharedDriverManagerConnectionProviderImpl instead of DriverManagerConnectionProviderImpl
1 year, 11 months