[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-567) Ability to specify a custom persister on a collection seems to be missing

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Mar 1 13:15:31 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-567?page=comments#action_26354 ] 

Emmanuel Bernard commented on ANN-567:
--------------------------------------

No just make @Persister a higher priority than @Entity.persister. I don't want to break existing code

> Ability to specify a custom persister on a collection seems to be missing
> -------------------------------------------------------------------------
>
>          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

>
>
> 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.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list