[
https://issues.apache.org/jira/browse/LABS-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665223#action_12665223
]
Simone Gianni commented on LABS-280:
------------------------------------
By the way, it happens only in an LTW ClassLoader-based environment (so, only
during magma:run, the development environment).
The problem does not happen not in WAR generation (and obviously not in
production, or runwar), nor in test environment where another JVM is forked by
maven and is properly instrumented using agents.
> [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]