[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4552?page=c...
]
Ståle W. Pedersen commented on HHH-4552:
----------------------------------------
steve, could we just add a map to IdentifierGeneratorHelper that contains (idclass,
identifiertype). then in IdentifierGeneratorHelper.createNumber(..), if the input class
isnt Long/Integer/Short then we can lookup the map and use the identifiertype defined
there.
then we wont need to change anything in the identifiergenerators other than using delegate
on the generate class and no change on Type is needed.
i can test it tomorrow if you dont have any immediate objections.
Support generated value within composite keys
---------------------------------------------
Key: HHH-4552
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4552
Project: Hibernate Core
Issue Type: Improvement
Components: annotations, core, metamodel
Affects Versions: 3.5.0-Beta-2
Reporter: Ståle W. Pedersen
Assignee: Steve Ebersole
Fix For: 3.5
Attachments: annotations.diff, annotations2.diff, core.diff, core2.diff,
HHH-4552_take2.diff, test_idclassgeneratedvalue.tar.gz,
test_idclassgeneratedvalue2.tar.gz
To ensure compatibility/portability with other jpa implementations hibernate need support
for generated value for composite keys. The SpecjEnterprise2010 application require this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira