[hibernate/hibernate-orm] 8f563f: HHH-13752 - Test and fix deletion of entities with...
by Christian Beikov
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 8f563fbd3146c2fe649ba14e1e5af191dba455eb
https://github.com/hibernate/hibernate-orm/commit/8f563fbd3146c2fe649ba14...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/DeleteExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/AbstractTableBasedBulkIdHandler.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/TableBasedDeleteHandlerImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/cte/AbstractCteValuesListBulkIdHandler.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/cte/CteValuesListDeleteHandlerImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/inline/AbstractInlineIdsDeleteHandlerImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/persistent/DeleteHandlerImpl.java
M hibernate-core/src/test/java/org/hibernate/test/hql/NaturalIdDereferenceTest.java
Log Message:
-----------
HHH-13752 - Test and fix deletion of entities with many-to-many assocations using non-primary keys for join table
Commit: a2f7f59de4578ed41241037fe161a653e49bec1f
https://github.com/hibernate/hibernate-orm/commit/a2f7f59de4578ed41241037...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/DeleteExecutor.java
Log Message:
-----------
HHH-13752 - Workaround id class issues like suggested by @jwgmeligmeyling
Compare: https://github.com/hibernate/hibernate-orm/compare/fa952863cf7e...a2f7f59...
4 years, 10 months
[hibernate/hibernate-orm] f59f0c: HHH-13823 Changes for Hibernate RX
by Gavin King
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: f59f0ce40680b02e8cfd113ef0f3a2577640b9ce
https://github.com/hibernate/hibernate-orm/commit/f59f0ce40680b02e8cfd113...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityDeleteAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityIdentityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractSaveEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultDeleteEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultPersistEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultPostLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultSaveOrUpdateEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DirtyCollectionSearchVisitor.java
A hibernate-core/src/main/java/org/hibernate/event/internal/EntityState.java
A hibernate-core/src/main/java/org/hibernate/event/internal/EventUtil.java
M hibernate-core/src/main/java/org/hibernate/event/internal/EvictVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/FlushVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/OnReplicateVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/OnUpdateVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/ProxyVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/WrapVisitor.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
Log Message:
-----------
HHH-13823 Changes for Hibernate RX
Mostly just expose some operations and constructors that were previously inaccessible.
Commit: 96faae93b11d97fac31cfbf9df2a592e8b22e0fb
https://github.com/hibernate/hibernate-orm/commit/96faae93b11d97fac31cfbf...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/Column.java
Log Message:
-----------
HHH-13823 Always generate lowercase column aliases
This change is needed by hibernate-rx as a workaround for behavior
of the Postgres client. But anyway I think it's cleaner.
Commit: 12a8508e669aa2824df7ab6d7ad2b58fcb20d5e3
https://github.com/hibernate/hibernate-orm/commit/12a8508e669aa2824df7ab6...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/BasicCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/OneToManyPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
HHH-13823 Introduce an indirection when instantiating Insert/Update/Delete
This allows hibernate-rx to intervene in the rendering of bind variables
and use $n instead of ?
Commit: a2f21e12a4f05223de767b2fe041e4e0cc600f62
https://github.com/hibernate/hibernate-orm/commit/a2f21e12a4f05223de767b2...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/Delete.java
M hibernate-core/src/main/java/org/hibernate/sql/InFragment.java
M hibernate-core/src/main/java/org/hibernate/sql/Insert.java
M hibernate-core/src/main/java/org/hibernate/sql/InsertSelect.java
M hibernate-core/src/main/java/org/hibernate/sql/Select.java
M hibernate-core/src/main/java/org/hibernate/sql/SimpleSelect.java
M hibernate-core/src/main/java/org/hibernate/sql/Update.java
Log Message:
-----------
HHH-13823 Expose members of some SQL construction classes to subclasses
Allows hibernate-rx to more easily customize bind variable syntax.
Commit: a0f9b1df0015b5747e4de7e63b1acde87a2d40ac
https://github.com/hibernate/hibernate-orm/commit/a0f9b1df0015b5747e4de7e...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
HHH-13823 Make three private methods of SessionImpl visible to subclasses
Commit: e5f8341aa4173ca460aa6f8b09c28c4bb05a6c67
https://github.com/hibernate/hibernate-orm/commit/e5f8341aa4173ca460aa6f8...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityIdentityInsertAction.java
Log Message:
-----------
HHH-13823 Add setters for two of the properties of EntityIdentityInsertAction
This is needed by hibernate-rx.
Commit: fa952863cf7effa61c8a3b63f72805e7d1be8b79
https://github.com/hibernate/hibernate-orm/commit/fa952863cf7effa61c8a3b6...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/event/internal/MergeContext.java
Log Message:
-----------
HHH-13823 Make it possible to reuse MergeContext in Hibernate RX.
Exposes the operations used by DefaultMergeEventListener
Compare: https://github.com/hibernate/hibernate-orm/compare/da019405b67d...fa95286...
4 years, 10 months
[hibernate/hibernate-search] 381de3: HSEARCH-3171 Fix missing generic type arguments in...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 381de3b02d1514b79071a1a232feed9b64bddcfe
https://github.com/hibernate/hibernate-search/commit/381de3b02d1514b79071...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/VerifyingStubBackendBehavior.java
Log Message:
-----------
HSEARCH-3171 Fix missing generic type arguments in VerifyingStubBackendBehavior
Commit: dafc6a2c568602f6c4d736ee7ced911ec5d86fb6
https://github.com/hibernate/hibernate-search/commit/dafc6a2c568602f6c4d7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/ParameterizedCallBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/VerifyingStubBackendBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/StubBackendBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubBackend.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubBackendFactory.java
Log Message:
-----------
HSEARCH-3171 Add a way to define on-create/on-stop behaviors for backend mocks
This will be useful to test mappers, and in particular to test the way
they initialize the execution context provided to the backend.
Commit: 0cab612068494cfc18f59d71d4beb8dc38cb8cc1
https://github.com/hibernate/hibernate-search/commit/0cab612068494cfc18f5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
A integrationtest/mapper/orm-cdi/pom.xml
A integrationtest/mapper/orm-cdi/src/test/java/org/hibernate/search/integrationtest/mapper/orm/cdi/CdiIT.java
M integrationtest/pom.xml
M legacy/integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/wildfly/cdi/CDIInjectionIT.java
M legacy/integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/wildfly/cdi/CDIInjectionLifecycleEventsIT.java
M pom.xml
M reports/pom.xml
Log Message:
-----------
HSEARCH-3171 Test CDI integration within the ORM mapper
Compare: https://github.com/hibernate/hibernate-search/compare/09f4631a1b07...0cab...
4 years, 10 months
[hibernate/hibernate-orm] bf4736: HHH-13780 Allow NamedQuery to set hint QueryHints....
by Sanne Grinovero
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: bf473681e49cb51a3de9fd163d2611516563d29b
https://github.com/hibernate/hibernate-orm/commit/bf473681e49cb51a3de9fd1...
Author: marekchodak <marekchodak(a)hotmail.com>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/QueryBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/QueryHintDefinition.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/NamedQueryDefinition.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/NamedQueryDefinitionBuilder.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/NamedSQLQueryDefinition.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/NamedSQLQueryDefinitionBuilder.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/test/java/org/hibernate/test/distinct/SelectDistinctHqlTest.java
Log Message:
-----------
HHH-13780 Allow NamedQuery to set hint QueryHints.PASS_DISTINCT_THROUGH
4 years, 10 months
[hibernate/hibernate-search] 841308: HSEARCH-3803 Pass id bridge for implicit provided id
by Fabio Massimo
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 84130827dbde5341906deaa7278d8f5e213e213c
https://github.com/hibernate/hibernate-search/commit/84130827dbde5341906d...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-01-20 (Mon, 20 Jan 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/providedid/ProvidedIdIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/mapping/SearchMappingBuilder.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/ProvidedIdentifierMapping.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/ProvidedStringIdentifierMapping.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIdentityMappingCollectorImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIndexedTypeManagerBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoMapper.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/AbstractPojoMappingInitiator.java
Log Message:
-----------
HSEARCH-3803 Pass id bridge for implicit provided id
Commit: 09f4631a1b0746fd45323f6010a32c649e8935cf
https://github.com/hibernate/hibernate-search/commit/09f4631a1b0746fd4532...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-01-20 (Mon, 20 Jan 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIdentityMappingCollectorImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoIndexedTypeManagerBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoMapper.java
Log Message:
-----------
HSEARCH-3803 Resolve provided bridge in PojoIdentityMappingCollectorImpl
Closing the bean holder in case of failure
Compare: https://github.com/hibernate/hibernate-search/compare/e7e92f6b1b0e...09f4...
4 years, 10 months