[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-1147) Support @EmbeddedId in EntityConverter
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Apr 5 09:46:05 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1147?page=all ]
Pete Muir reassigned JBSEAM-1147:
---------------------------------
Assignee: Pete Muir
> Support @EmbeddedId in EntityConverter
> --------------------------------------
>
> Key: JBSEAM-1147
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1147
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: JSF
> Affects Versions: 1.2.1.GA
> Reporter: Keith Naas
> Assigned To: Pete Muir
> Fix For: 1.3.0.BETA1
>
>
> From [http://jboss.org/index.html?module=bb&op=viewtopic&t=105810]
> Looks like it might be as simple as changing this code in Entity
> if ( method.isAnnotationPresent(Id.class) || method.isAnnotationPresent(EmbeddedId.class) )
> {
> identifierGetter = method;
> }
> }
>
> if (identifierGetter==null)
> {
> for ( Field field: getBeanClass().getDeclaredFields() )
> {
> if ( field.isAnnotationPresent(Id.class) || field.isAnnotationPresent(EmbeddedId.class) )
> {
> identifierField = field;
> }
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list