[hibernate/hibernate-orm] b75613: edit the (excellent) javadoc of MergeContext
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: b75613cff15deac351542e4195e26888fb63855d
https://github.com/hibernate/hibernate-orm/commit/b75613cff15deac351542e4...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-30 (Sun, 30 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/event/internal/MergeContext.java
M hibernate-core/src/main/java/org/hibernate/event/spi/EntityCopyObserver.java
Log Message:
-----------
edit the (excellent) javadoc of MergeContext
Commit: 7570d1529108a7b527a0bc65f48bff7ecd5f8e6e
https://github.com/hibernate/hibernate-orm/commit/7570d1529108a7b527a0bc6...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-30 (Sun, 30 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionImplementor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractSaveEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
R hibernate-core/src/main/java/org/hibernate/event/internal/MergeContext.java
M hibernate-core/src/main/java/org/hibernate/event/spi/EntityCopyObserver.java
M hibernate-core/src/main/java/org/hibernate/event/spi/EventSource.java
A hibernate-core/src/main/java/org/hibernate/event/spi/MergeContext.java
M hibernate-core/src/main/java/org/hibernate/event/spi/MergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/event/MergeContextTest.java
Log Message:
-----------
finally fix the warnings and typecasts in DefaultMergeEventListener
by using MergeContext instead of (raw!) Map
Commit: 1b0862babd3b0719c4df5c4c00bd92fe5a3c1779
https://github.com/hibernate/hibernate-orm/commit/1b0862babd3b0719c4df5c4...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-30 (Sun, 30 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingAction.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionImplementor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractFlushingEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractSaveEventListener.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/DefaultPersistOnFlushEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultRefreshEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultReplicateEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultSaveOrUpdateEventListener.java
A hibernate-core/src/main/java/org/hibernate/event/spi/DeleteContext.java
M hibernate-core/src/main/java/org/hibernate/event/spi/DeleteEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/spi/EventSource.java
A hibernate-core/src/main/java/org/hibernate/event/spi/PersistContext.java
M hibernate-core/src/main/java/org/hibernate/event/spi/PersistEventListener.java
A hibernate-core/src/main/java/org/hibernate/event/spi/RefreshContext.java
M hibernate-core/src/main/java/org/hibernate/event/spi/RefreshEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/metadata/ClassMetadata.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.java
M hibernate-core/src/test/java/org/hibernate/orm/test/events/CallbackTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/model/AbstractJPATest.java
Log Message:
-----------
introduce Contexts for the other cascading operations that need them
and typesafety, finally!
Commit: 5b5c76abfd655cb24c9b203e9e099e8f1aa0cdbc
https://github.com/hibernate/hibernate-orm/commit/5b5c76abfd655cb24c9b203...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-30 (Sun, 30 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/DiscriminatorType.java
M hibernate-core/src/main/java/org/hibernate/type/AbstractStandardBasicType.java
M hibernate-core/src/main/java/org/hibernate/type/AbstractType.java
M hibernate-core/src/main/java/org/hibernate/type/AnyType.java
M hibernate-core/src/main/java/org/hibernate/type/CollectionType.java
M hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
M hibernate-core/src/main/java/org/hibernate/type/CustomType.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
M hibernate-core/src/main/java/org/hibernate/type/MetaType.java
M hibernate-core/src/main/java/org/hibernate/type/SerializableToBlobType.java
M hibernate-core/src/main/java/org/hibernate/type/Type.java
M hibernate-core/src/main/java/org/hibernate/type/TypeHelper.java
Log Message:
-----------
fill in type parameters of raw type in Type interface
Compare: https://github.com/hibernate/hibernate-orm/compare/772c4533ee70...5b5c76a...
2 years, 11 months
[hibernate/hibernate-orm] cd113b: remove PowerReturnTypeResolver
by Gavin King
Branch: refs/heads/kill_pow_return_resolver
Home: https://github.com/hibernate/hibernate-orm
Commit: cd113b80fdbe760772ccd72146dcc5f65ac72c17
https://github.com/hibernate/hibernate-orm/commit/cd113b80fdbe760772ccd72...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-30 (Sun, 30 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/PowerReturnTypeResolver.java
Log Message:
-----------
remove PowerReturnTypeResolver
You can't do "exact decimal" exponentiation. For the same reason that
sqrt() is of type Double in the JPA, pow(decimal, 0.5) is also of type
Double.
Yes, yes, I know that some dbs (Postgres!) claim that the return type is
NUMERIC for NUMERIC arguments. But go on, try it: yes, the return type of
typed NUMERIC, but then it has a very suspicious number of digits. Hrrm....
17 decimal digits, now why does that specific number ring a bell?
Commit: 0a26c46f8bd2c24419e468480ad85ae605696783
https://github.com/hibernate/hibernate-orm/commit/0a26c46f8bd2c24419e4684...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-30 (Sun, 30 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
make ln() and exp() have the return type Double
Commit: fd0584d7986c2752290874111d850f98f23b1dbd
https://github.com/hibernate/hibernate-orm/commit/fd0584d7986c27522908741...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-30 (Sun, 30 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
Log Message:
-----------
add a couple of comments
Compare: https://github.com/hibernate/hibernate-orm/compare/cd113b80fdbe%5E...fd05...
2 years, 11 months