]
Steve Ebersole resolved HHH-4417.
---------------------------------
Resolution: Fixed
Fix Version/s: 4.1.1
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
Fix For: 4.1.1
Attachments: UserCollectionTypeAnnotation.zip
Original Estimate: 0.5h
Time Spent: 0.45h
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: