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

Thomas Andraschko updated DELTASPIKE-1066:
------------------------------------------
    Description: 
e.g. Currently it's evaluated every time in EntityUtils#getVersionProperty but 
AFAICS it could be cached inside RepositoryEntity.

We can cache the following informations:
entityName
primaryKeyClass
primaryKeyProperty
versionProperty

  was:
Currently it's evaluated every time in EntityUtils#getVersionProperty but 
AFAICS it could be cached inside RepositoryEntity.
We should check the same for primaryKeyProperty, too.



> [perf] enhance caching in RepositoryEntity
> ------------------------------------------
>
>                 Key: DELTASPIKE-1066
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1066
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Data-Module
>            Reporter: Thomas Andraschko
>            Assignee: Thomas Andraschko
>
> e.g. Currently it's evaluated every time in EntityUtils#getVersionProperty 
> but AFAICS it could be cached inside RepositoryEntity.
> We can cache the following informations:
> entityName
> primaryKeyClass
> primaryKeyProperty
> versionProperty



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to