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

Shawn Clowater (JIRA) noreply at atlassian.com
Thu Mar 1 12:13:31 EST 2007


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

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

Do you actually want to change the @Entity one?  There's also at least the dynamicUpdate still on @Entity so you can't get rid of it entirely and I'm thinking there might be considerable code breakage, I know ours would break horribly but since I'd be doing the work it wouldn't be much of a surprise to me.

I'll start with the @Persister at the collection level and let you mull over the @Entity change.  It shouldn't take me that long if I can get some uninterrupted cycles.

> 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