[hibernate/hibernate-orm] 571266: HHH-7085 Add unit test that demonstrates error
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 571266aa3d20115231982372da767cb726c69853
https://github.com/hibernate/hibernate-orm/commit/571266aa3d2011523198237...
Author: Eric Dalquist <eric.dalquist(a)gmail.com>
Date: 2012-03-01 (Thu, 01 Mar 2012)
Changed paths:
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/naturalid/Building.java
A hibernate-core/src/matrix/java/org/hibernate/test/annotations/naturalid/ImmutableEntityNaturalIdTest.java
Log Message:
-----------
HHH-7085 Add unit test that demonstrates error
Add unit test for @Immutable entity that has an @NaturalId
Commit: b5ba7bef42591b6222756708eedc60d623dcdc32
https://github.com/hibernate/hibernate-orm/commit/b5ba7bef42591b622275670...
Author: Eric Dalquist <eric.dalquist(a)gmail.com>
Date: 2012-03-01 (Thu, 01 Mar 2012)
Changed paths:
M hibernate-core/src/matrix/java/org/hibernate/test/annotations/naturalid/ImmutableEntityNaturalIdTest.java
Log Message:
-----------
HHH-7085 Add delete to immutable test
Commit: f1a54aeadf295e3694c83843547a80da5859749d
https://github.com/hibernate/hibernate-orm/commit/f1a54aeadf295e3694c8384...
Author: Eric Dalquist <eric.dalquist(a)gmail.com>
Date: 2012-03-01 (Thu, 01 Mar 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistenceContext.java
Log Message:
-----------
HHH-7085 Use the in-flight state for naturalId caching
Pass the current state Object[] from the event into the SPC to use
for naturalId caching
Commit: 9f4fd486036eff5cc24740fb387d3df93663642c
https://github.com/hibernate/hibernate-orm/commit/9f4fd486036eff5cc24740f...
Author: Steve Ebersole <steve(a)apollo.(none)>
Date: 2012-03-01 (Thu, 01 Mar 2012)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdXrefDelegate.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
A hibernate-core/src/main/java/org/hibernate/engine/spi/CachedNaturalIdValueSource.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultResolveNaturalIdEventListener.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/naturalid/Building.java
R hibernate-core/src/matrix/java/org/hibernate/test/annotations/naturalid/ImmutableEntityNaturalIdTest.java
A hibernate-core/src/matrix/java/org/hibernate/test/naturalid/immutableentity/Building.java
A hibernate-core/src/matrix/java/org/hibernate/test/naturalid/immutableentity/ImmutableEntityNaturalIdTest.java
Log Message:
-----------
HHH-7085 - Entities marked as @Immutable that have a @NaturalId fail to be inserted with NPE
Compare: https://github.com/hibernate/hibernate-orm/compare/bc643dd...9f4fd48
12 years, 10 months
[hibernate/hibernate-orm] ec2450: HHH-7136: Moved Binder and associated HibernateTyp...
by GitHub
Branch: refs/heads/metamodel
Home: https://github.com/hibernate/hibernate-orm
Commit: ec2450bf21395917afdc51c222425bceb442443c
https://github.com/hibernate/hibernate-orm/commit/ec2450bf21395917afdc51c...
Author: John Verhaeg <john.verhaeg(a)gmail.com>
Date: 2012-03-01 (Thu, 01 Mar 2012)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/Binder.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/HibernateTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataImpl.java
R hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/Binder.java
R hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/HibernateTypeHelper.java
Log Message:
-----------
HHH-7136: Moved Binder and associated HibernateTypeHelper class to parent package. Also removed several leftover System.out.println statements from previous local debugging.
12 years, 10 months
[hibernate/hibernate-orm] 85e2d4: HHH-7048: Finished changes to ensure resolution of...
by GitHub
Branch: refs/heads/metamodel
Home: https://github.com/hibernate/hibernate-orm
Commit: 85e2d484318fc5360578bd5ad1398ae253ae8b65
https://github.com/hibernate/hibernate-orm/commit/85e2d484318fc5360578bd5...
Author: John Verhaeg <john.verhaeg(a)gmail.com>
Date: 2012-03-01 (Thu, 01 Mar 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/Binder.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/HibernateTypeHelper.java
Log Message:
-----------
HHH-7048: Finished changes to ensure resolution of all entities and types during binding. Refactored quite a bit of code while I did this, addressing some TODOs such as using consistent method names and cleaning up redundant and duplicate code. Still have some cleanup to do regarding the break out of the HibernateTypeHelper class. Also removed some large blocks of unused code, so this may need to be added back in if it's to be used in the future.
12 years, 10 months