Entity component doesnt ensure that the the identifier field is accessible.
---------------------------------------------------------------------------
Key: JBSEAM-1295
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1295
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 1.2.1.GA, 1.2.0.GA
Reporter: Chris Rudd
The Entity component uses reflection to get the identifier of that @Entity it represents.
If the identifier is a private/protected @Id annotated field Entity.getIdentifier will
fail with an IllegalAccessException.
The code should be updated to call setAccessible(true) for each member / method that could
be private/protected that will be accessed.
--
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