[
https://issues.apache.org/jira/browse/LABS-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Gianni resolved LABS-495.
--------------------------------
Resolution: Fixed
> [beans][speed] Optimize useless calls to getters, using lazy as much as
> possible
> --------------------------------------------------------------------------------
>
> Key: LABS-495
> URL: https://issues.apache.org/jira/browse/LABS-495
> Project: Labs
> Issue Type: Improvement
> Components: Magma
> Affects Versions: Current
> Reporter: Simone Gianni
> Fix For: Current
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> Currently there are a number of calls to beans getters made by the handler to
> pre-populate its "local cache". Many of these calls are useless, cause those
> properties will not be always used.
> Moreover, if those properties are somehow dynamically generated, cause an
> overhead which can be huge.
> There are already in places some checks, to avoid for example loading of lazy
> relationships in JPA, so it can work also without all pre-buffering. It would
> be better to not preload at all, and have all work on lazy loading.
--
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]