You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Igor Drobiazko (Assigned) (JIRA)" <ji...@apache.org> on 2011/10/17 21:39:10 UTC

[jira] [Assigned] (TAP5-1699) JPA valueEncoder

     [ https://issues.apache.org/jira/browse/TAP5-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko reassigned TAP5-1699:
------------------------------------

    Assignee: Igor Drobiazko
    
> 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
>            Assignee: Igor Drobiazko
>            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