[
https://issues.apache.org/jira/browse/DELTASPIKE-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Andraschko updated DELTASPIKE-1049:
------------------------------------------
Fix Version/s: 1.5.3
> Avoid bean serializations / use ApplicationScoped instead Dependent for
> performance reasons
> -------------------------------------------------------------------------------------------
>
> Key: DELTASPIKE-1049
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1049
> Project: DeltaSpike
> Issue Type: Improvement
> Components: Data-Module
> Affects Versions: 1.5.2
> Reporter: Thomas Andraschko
> Assignee: Thomas Hug
> Fix For: 1.5.3
>
>
> Currently QueryHandler is Dependent and a instance will be created for every
> repository.
> QueryHandler can be ApplicationScoped to avoid serialization if the user
> doesn't set a scope to the repository.
> Classes which doesn't need to implement Serializable (and doesn't need a
> serialVersionUID):
> QueryBuilderFactory
> RepositoryComponents
> QueryHandler
> Classes which can be ApplicationScoped:
> QueryBuilderFactory
> TransactionalQueryRunner
> QueryHandler
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)