[
http://jira.jboss.com/jira/browse/JBSEAM-1147?page=all ]
Pete Muir resolved JBSEAM-1147.
-------------------------------
Resolution: Done
Done, please test Keith. Thanks.
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
Priority: Optional
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