You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Patrick Linskey (JIRA)" <ji...@apache.org> on 2007/02/08 07:08:05 UTC
[jira] Commented: (OPENJPA-128) Automatic cache pre-fill on server
start
[ https://issues.apache.org/jira/browse/OPENJPA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471195 ]
Patrick Linskey commented on OPENJPA-128:
-----------------------------------------
We could also do this by specifying named queries in the DataCacheWarmUp string, and those named queries could have query hints to control ranging.
> Automatic cache pre-fill on server start
> ----------------------------------------
>
> Key: OPENJPA-128
> URL: https://issues.apache.org/jira/browse/OPENJPA-128
> Project: OpenJPA
> Issue Type: New Feature
> Reporter: Patrick Linskey
>
> It'd be nice to have some means to automatically pre-fill the cache when a node starts up, either by copying from a different node or from a serialized image on disk, or by issuing some pre-specified queries. I really like the idea of just letting the user specify something like so:
> <property key="openjpa.DataCacheWarmUp" value="\"SELECT p FROM Person p\", \"SELECT p FROM Product p ORDER BY p.salesRank\""/>
> Although in that last example, we'd really want some way to specify a bit more detail about which pages of the data to use, as you would in single-string JDOQL.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.