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