[hibernate/hibernate-orm] e02e1e: remove the layer-breaking getLobCreator() methods ...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: e02e1e2ffb940cbef9c076b6f8da1f4475f0632e
https://github.com/hibernate/hibernate-orm/commit/e02e1e2ffb940cbef9c076b...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-08 (Sat, 08 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Hibernate.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/FetchGraphTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/ProxyDeletionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/connections/HibernateCreateBlobFailedCase.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NativeQueryResultTypeAutoDiscoveryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/lob/BlobLocatorTest.java
Log Message:
-----------
remove the layer-breaking getLobCreator() methods from the Hibernate class
This is in principle a breaking change, but one I consider pretty innocuous,
since I can't imagine why anyone was calling Hibernate.getLobCreator(session)
instead of session.getLobHelper().
2 years, 11 months
[hibernate/hibernate-orm] e331c2: more cosmetic improvements to HQL error reporting
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: e331c2870e8caeda510c317a21893a2e7a488fdc
https://github.com/hibernate/hibernate-orm/commit/e331c2870e8caeda510c317...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-08 (Sat, 08 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/QualifiedJoinPathConsumer.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/UnknownEntityException.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/ConfigurationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/loader/LoaderWithInvalidQueryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/MappedSuperclassInheritanceTest.java
Log Message:
-----------
more cosmetic improvements to HQL error reporting
makes the messages and exception types a bit more consistent
2 years, 11 months
[hibernate/hibernate-orm] e79d7e: use instanceof instead of isInstance() on the hot ...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: e79d7efbceb6c59f19876b25cd35ddbe252e4169
https://github.com/hibernate/hibernate-orm/commit/e79d7efbceb6c59f19876b2...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-08 (Sat, 08 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BlobJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ByteArrayJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarDateJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarTimeJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterArrayJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClassJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CurrencyJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DateJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoubleJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DurationJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/InetAddressJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateTimeJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalTimeJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocaleJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ObjectArrayJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/OffsetDateTimeJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/OffsetTimeJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/PrimitiveByteArrayJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/PrimitiveCharacterArrayJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/RowVersionJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/SerializableJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/TimeZoneJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/UUIDJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/UrlJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZonedDateTimeJavaTypeDescriptor.java
Log Message:
-----------
use instanceof instead of isInstance() on the hot path
surely NBD, but such an easy thing to fix and remove all doubt
2 years, 11 months
[hibernate/hibernate-orm] 6c83e1: cosmetic improvements to HQL error reporting
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 6c83e1d0ece045dbf5d848b982984e5384033443
https://github.com/hibernate/hibernate-orm/commit/6c83e1d0ece045dbf5d848b...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-08 (Sat, 08 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/BasicDotIdentifierConsumer.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmBasicValuedSimplePath.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/loader/LoaderWithInvalidQueryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/JoinOnClauseTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/MappedSuperclassInheritanceTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/paths/AbstractPathImplTest.java
Log Message:
-----------
cosmetic improvements to HQL error reporting
makes the messages and exception types a bit more consistent
2 years, 11 months
[hibernate/hibernate-search] 7fa8a9: HSEARCH-4362 Test regexp optional operators defualts
by Fabio Massimo Ercoli
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 7fa8a98d011838c1ccf17bdee22c48d70b72f63e
https://github.com/hibernate/hibernate-search/commit/7fa8a98d011838c1ccf1...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2022-01-07 (Fri, 07 Jan 2022)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RegexpPredicateSpecificsIT.java
Log Message:
-----------
HSEARCH-4362 Test regexp optional operators defualts
ALL are enabled by default for both ES and Lucene, but this is not what we want for Search!
Commit: c5488e4f4686b28978cb0535e9d68e64decfe14d
https://github.com/hibernate/hibernate-search/commit/c5488e4f4686b28978cb...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2022-01-07 (Fri, 07 Jan 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextRegexpPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextRegexpPredicate.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RegexpPredicateSpecificsIT.java
Log Message:
-----------
HSEARCH-4362 Set no optional flag as default
Commit: fe2f79327ef31c742947efd9a725965baab141c8
https://github.com/hibernate/hibernate-search/commit/fe2f79327ef31c742947...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2022-01-07 (Fri, 07 Jan 2022)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubSearchPredicate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubSearchPredicateBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/types/impl/StubIndexValueFieldType.java
Log Message:
-----------
HSEARCH-4362 Use different classes for regex and simplequerystring
It will be used by a subsequent commit
Commit: 51a9fd7ce13b424028d09102b923606e3bbd2fef
https://github.com/hibernate/hibernate-search/commit/51a9fd7ce13b424028d0...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2022-01-07 (Fri, 07 Jan 2022)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextRegexpPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextRegexpPredicate.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RegexpPredicateOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RegexpQueryFlag.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/RegexpPredicateFieldMoreStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/RegexpPredicateBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubSearchPredicate.java
Log Message:
-----------
HSEARCH-4362 Support flags for regexp optional operator
Commit: 48c57c14a6046444e3ea615c3143e2bd8a959961
https://github.com/hibernate/hibernate-search/commit/48c57c14a6046444e3ea...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2022-01-07 (Fri, 07 Jan 2022)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RegexpPredicateSpecificsIT.java
Log Message:
-----------
HSEARCH-4362 Test flags for regexp optional operator
Commit: 9d3bf33ce9e8055ae1d6f3e41b5ddea010c81717
https://github.com/hibernate/hibernate-search/commit/9d3bf33ce9e8055ae1d6...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2022-01-07 (Fri, 07 Jan 2022)
Changed paths:
M documentation/src/main/asciidoc/reference/search-dsl-predicate.asciidoc
M documentation/src/test/java/org/hibernate/search/documentation/search/predicate/PredicateDslIT.java
Log Message:
-----------
HSEARCH-4362 Document flags for regexp optional operator
Compare: https://github.com/hibernate/hibernate-search/compare/5a8740f98463...9d3b...
2 years, 11 months