[hibernate-issues] [Hibernate-JIRA] Resolved: (ANN-636) Add the annotations to map the User Collection Type

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Jul 20 00:11:52 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved ANN-636.
----------------------------------

    Resolution: Duplicate

This is a duplicate. Nobody came up with a complete patch last time I checked.

> Add the annotations to map the User Collection Type
> ---------------------------------------------------
>
>                 Key: ANN-636
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-636
>             Project: Hibernate Annotations
>          Issue Type: New Feature
>          Components: binder
>         Environment: n/a
>            Reporter: jason
>
> I am searching a way from the Hibernate Annotation to map the user defined collection, and find out the following :
> Can anybody let me know what the status for this? or how i can map the user collection type by hibernate annotation, thanks
> Add an annotation to specify the UserCollectionType for a OneToMany or ManyToMany.
> The annotation is named CollectionTypeInfo, perhaps better named UserCollectionType, but I didn't know the standards for naming classes.
> The change to AnnotationBinder is minor and is delineated by '//dwsjoquist//' comment lines.
> Usage:
>     @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
>     @JoinColumn(name = "id")
>     @CollectionTypeInfo(name = "examples.MyUserCollectionType")
>     public List<ExampleAttribute> getExampleAttributes() {

-- 
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