[
http://opensource.atlassian.com/projects/hibernate/browse/ANN-567?page=all ]
Emmanuel Bernard resolved ANN-567:
----------------------------------
Resolution: Fixed
Applied. Thanks, the test suite was awsome :-)
Note I adjusted your implementation to use @Persister.impl as a class, not a string
Ability to specify a custom persister on a collection (Shawn
Clowater)
----------------------------------------------------------------------
Key: ANN-567
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-567
Project: Hibernate Annotations
Type: Bug
Components: binder
Versions: 3.2.1
Environment: Hibernate 3.2.2
Reporter: Shawn Clowater
Assignee: Emmanuel Bernard
Fix For: 3.2.2
Attachments: Persister.patch
There doesn't seem to be a mechanism to set the collectionPersister property on a
Collection via annotations.
I think the solution is as simple as adding a new annotation, kind of like the
org.hibernate.annotation.Entity that would allow the user to specify the persister class
and then having the AnnotationBinder parse that when it's parsing the annotations like
@Cache, etc.
If there is a particular name that you would like for the annotation I'll even do it
up and provide a patch as I'm going to need it PDQ to continue on my side of things.
--
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