[hibernate-commits] [hibernate/hibernate-orm] 9fd61a: HHH-10863 Be consistent in the parameter passed to
GitHub
noreply at github.com
Thu Jun 30 12:07:58 EDT 2016
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 9fd61a10dba3b61ec5b1f4dc5357ab4a4aeeb219
https://github.com/hibernate/hibernate-orm/commit/9fd61a10dba3b61ec5b1f4dc5357ab4a4aeeb219
Author: Guillaume Smet <guillaume.smet at gmail.com>
Date: 2016-06-30 (Thu, 30 Jun 2016)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/Ejb3Column.java
M hibernate-core/src/test/java/org/hibernate/test/namingstrategy/components/ComponentNamingStrategyTest.java
Log Message:
-----------
HHH-10863 Be consistent in the parameter passed to
ImplicitNamingStrategy#determineBasicColumnName
When dealing with an element collection (say items.name),
ImplicitNamingStrategy#determineBasicColumnName is sometimes called
with items.collection&&element.name and sometimes with items.name.
This is due to HHH-6005 which removes the "collection&&element."
part before calling determineBasicColumnName.
With this patch, we only remove the "collection&&element." part before
calling the physical naming strategy, thus allowing us to be consistent
in the way we call ImplicitNamingStrategy#determineBasicColumnName.
Commit: 7f3a3bcbcc0a6e73c88f785d0fc24b8a70cec321
https://github.com/hibernate/hibernate-orm/commit/7f3a3bcbcc0a6e73c88f785d0fc24b8a70cec321
Author: Guillaume Smet <guillaume.smet at gmail.com>
Date: 2016-06-30 (Thu, 30 Jun 2016)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/AbstractAttributeKey.java
A hibernate-core/src/test/java/org/hibernate/test/boot/model/source/AttributePathTest.java
Log Message:
-----------
HHH-10863 Add a isCollectionElement() method to AbstractAttributeKey
It allows external libraries to test for the collection element marker
without being aware of the exact syntax used as it might change in the
future.
Commit: 5b5d2b655947e8fbbd969fd7ac709fe30265121e
https://github.com/hibernate/hibernate-orm/commit/5b5d2b655947e8fbbd969fd7ac709fe30265121e
Author: Steve Ebersole <steve at hibernate.org>
Date: 2016-06-30 (Thu, 30 Jun 2016)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/AbstractAttributeKey.java
Log Message:
-----------
HHH-10863 - Improve consistency of how we call implicitNamingStrategy.determineBasicColumnName with element collections
Compare: https://github.com/hibernate/hibernate-orm/compare/570577b65340...5b5d2b655947
More information about the hibernate-commits
mailing list