[
https://issues.apache.org/jira/browse/LABS-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665018#action_12665018
]
Simone Gianni commented on LABS-280:
------------------------------------
Created a test case, but it does not reproduce the problem, need to see what is
happening on the real site.
> [database] OpenJPA does not see ITD properties
> ----------------------------------------------
>
> Key: LABS-280
> URL: https://issues.apache.org/jira/browse/LABS-280
> Project: Labs
> Issue Type: Bug
> Components: Magma
> Affects Versions: Current
> Reporter: Simone Gianni
> Assignee: Simone Gianni
> Fix For: Current
>
>
> AspectJ weaving should happen before OpenJPA enhancement. While this seems to
> be the case both in the LTW environment and in the compile time environment,
> adding a property to an entity bean using ITD is not seen by OpenJPA.
> If it is not a problem of class weaving ordering, then proper inspection of
> how OpenJPA enhancer find which properties are present in a class is
> required, understanding why AspectJ ITDs are not taken into consideration
> (for example, are they marked synthetic? bridged? is the fact that the field
> is private to the aspect a problem for the OpenJPA enhancer?)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]