JPA valueEncoder
----------------

                 Key: TAP5-1699
                 URL: https://issues.apache.org/jira/browse/TAP5-1699
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-jpa
    Affects Versions: 5.3
            Reporter: Dimitris Zenios
            Priority: Blocker


There seems to be a problem with Tapestry-jpa value encoder.The problem is that 
propertyAdapter of JpaValueEncoder is null.In order to fix it, i had to change 
idPropertyName = idAttribute.getJavaMember().getName() to         
idPropertyName = idAttribute.getName();. I dont know if it matters but in my 
entities annotations are added on the methods and not on the properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to