[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-4417) Add annotation support for UserCollectionType
Steve Ebersole (JIRA)
noreply at atlassian.com
Fri Mar 2 13:50:48 EST 2012
[ https://hibernate.onjira.com/browse/HHH-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole updated HHH-4417:
--------------------------------
Assignee: Steve Ebersole
> Add annotation support for UserCollectionType
> ---------------------------------------------
>
> Key: HHH-4417
> URL: https://hibernate.onjira.com/browse/HHH-4417
> Project: Hibernate ORM
> Issue Type: Patch
> Components: annotations
> Environment: All versions, database agnostic
> Reporter: Douglas Sjoquist
> Assignee: Steve Ebersole
> Priority: Minor
> Attachments: UserCollectionTypeAnnotation.zip
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list