openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-128) Automatic cache pre-fill on server start
Date Thu, 08 Feb 2007 06:08:05 GMT

    [ 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.


Mime
View raw message