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