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