[hibernate-commits] [hibernate/hibernate-orm] f48503: HHH-7615: Changed ToOneAttributeSourceImpl.getJoin...
GitHub
noreply at github.com
Tue Sep 18 05:40:26 EDT 2012
Branch: refs/heads/metamodel
Home: https://github.com/hibernate/hibernate-orm
Commit: f48503891b23d478d3f4e46f1f3038cf33296da4
https://github.com/hibernate/hibernate-orm/commit/f48503891b23d478d3f4e46f1f3038cf33296da4
Author: John Verhaeg <john.verhaeg at gmail.com>
Date: 2012-09-18 (Tue, 18 Sep 2012)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/Binder.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/ToOneAttributeSourceImpl.java
M hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/entity/OneToManyBindingTest.java
M hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/BasicAnnotationBindingTests.java
M hibernate-core/src/test/java/org/hibernate/test/criteria/ComplexJoinAliasTest.java
M hibernate-core/src/test/java/org/hibernate/test/fetchprofiles/join/selfReferencing/JoinSelfReferentialFetchProfileTest.java
M hibernate-core/src/test/java/org/hibernate/test/ondemandload/LazyLoadingTest.java
Log Message:
-----------
HHH-7615: Changed ToOneAttributeSourceImpl.getJoinColumns to call JoinColumnResolutionContext.resolveRelationalValuesForAttribute when attributeName is null (indicating to use the primary key of the referenced table), and likewise modified resolveRelationalValuesForAttribute methods in each JoineColumnResolutionContext impl within Binder extract the PK columns when the attribute name is null
More information about the hibernate-commits
mailing list