Allow use of <generator> with <key-property>
--------------------------------------------
Key: HHH-7172
URL:
https://hibernate.onjira.com/browse/HHH-7172
Project: Hibernate ORM
Issue Type: Improvement
Components: core
Affects Versions: 4.1.1, 3.6.10
Reporter: Miguel Diaz
Hibernate annotations supports the automatic generation of some of the identifier
properties, as explained in section 5.1.2.4 "Partial identifier generation" of
the documentation: ??Simply use the @GeneratedValue annotation on one or several id
properties??.
The issue is that there is no equivalence with XML mapping: the <key-property>
element doesn't allow a <generator> child.
Note that Issue 2060 (
https://hibernate.onjira.com/browse/HHH-2060) solved the problem of
having a <generator> for a <composite-id>, but not for a
<key-property>.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira