[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-394) <properties> for annotations
Raja (JIRA)
noreply at atlassian.com
Fri Oct 6 14:31:25 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-394?page=comments#action_24743 ]
Raja commented on ANN-394:
--------------------------
Can the grouping be done with annotations similar to how TestNG groups testgroups? We could have something like
@Column (propertyGroup = "mygroup")
private String prop1;
@Column( propertyGroup = "mygroup")
private String prop2;
which could translate into
<properties name="mygroup">
<property name="prop1" />
<property name="prop2" />
</properties>
> <properties> for annotations
> ----------------------------
>
> Key: ANN-394
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-394
> Project: Hibernate Annotations
> Type: New Feature
> Reporter: Emmanuel Bernard
>
>
> It is actually hard to find a good annotation representing such a grouping.
> @Properties at the entity level is nasty but is the only one I can think of that fits all the needs.
--
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