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

Shawn Clowater (JIRA) noreply at atlassian.com
Fri Mar 9 14:49:09 EST 2007


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

Shawn Clowater commented on ANN-567:
------------------------------------

No problem.  Good idea on the Class, we actually wondered why this wasn't done with the @Entity(persister), we ended up defining a constant within our Persister classes for that.  The ability to use the class is much cleaner.

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




More information about the hibernate-issues mailing list