[
https://issues.apache.org/jira/browse/IGNITE-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15208526#comment-15208526
]
Denis Magda commented on IGNITE-2415:
-------------------------------------
Roman,
Several minor comments.
1) Trim p[5] in this line
new Person(Long.valueOf(p[0]), Long.valueOf(p[1]), p[2], p[3],
Double.valueOf(p[4]), p[5].trim())
Otherwise output of the following line is broken (at least on my Windows
machine)
System.out.println(">>> Data for the person by id1: " + cache.get(1L));
The bug is caused by '/r' that is added to the end of the resume field's
content.
2) Please add this example to {{IgniteExamplesSelfTestSuite}}.
Once this fixed please go ahead and merge your changes. Thanks!
> Add an example of usage for CacheLoadOnlyStoreAdapter
> -----------------------------------------------------
>
> Key: IGNITE-2415
> URL: https://issues.apache.org/jira/browse/IGNITE-2415
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 1.5.0.final
> Reporter: Denis Magda
> Assignee: Roman Shtykh
> Fix For: 1.6
>
>
> There is a high demand on the functionality provided by
> {{CacheLoadOnlyStoreAdapter}} from the community.
> It's quite often needed to preload a cache from a read only storage that can
> be a DB, CSV or other file.
> Definately it's time to add the example.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)