You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/21 15:39:04 UTC
[jira] [Commented] (IGNITE-4220) Allow to pass statements instead
of strings to CacheStore.loadCache() implementations
[ https://issues.apache.org/jira/browse/IGNITE-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978938#comment-15978938 ]
ASF GitHub Bot commented on IGNITE-4220:
----------------------------------------
GitHub user rfqu opened a pull request:
https://github.com/apache/ignite/pull/1857
issue fixed: IGNITE-4220
new functionality is demonstrated in methods:
org.apache.ignite.cassandra.IgnitePersistentStoreTest#loadCacheByStatement
org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreAbstractSelfTest#checkCacheLoadWithStatement
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rfqu/ignite ignite-4220
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1857.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1857
----
----
> Allow to pass statements instead of strings to CacheStore.loadCache() implementations
> -------------------------------------------------------------------------------------
>
> Key: IGNITE-4220
> URL: https://issues.apache.org/jira/browse/IGNITE-4220
> Project: Ignite
> Issue Type: Improvement
> Components: cache
> Affects Versions: 1.7
> Reporter: Valentin Kulichenko
> Assignee: Alexei Kaigorodov
>
> Currently both Cassandra store and POJO store allow user to provide a set of queries used for data loading. However, there are cases when user may want to provide a {{Statement}} instead (e.g., prepared statements with parameter binding are used). We should support {{Statement}} arguments in store implementations as well as strings.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)