[
https://issues.apache.org/jira/browse/IGNITE-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700994#comment-14700994
]
Yakov Zhdanov commented on IGNITE-1262:
---------------------------------------
Regarding this point:
2. dataSrc in factory looks incorrect. It's transient and is always null on
remote nodes. How is it supposed to be used?
This should work this way: {{dataSrcBean}} should be set and serialized. On
peer node {{appCtx}} should be injected and {{dataSrc}} should be fount in the
context via the name.
If there are no tests for this, please add.
> CacheJdbcPojoStoreFactory issues
> --------------------------------
>
> Key: IGNITE-1262
> URL: https://issues.apache.org/jira/browse/IGNITE-1262
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 1.1.4
> Reporter: Valentin Kulichenko
> Assignee: Alexey Kuznetsov
> Labels: usability
> Fix For: ignite-1.4
>
>
> # {{appContext}} should be transient.
> # {{dataSrc}} in factory looks incorrect. It's transient and is always null
> on remote nodes. How is it supposed to be used?
> # Really strange thing with dialects. They are not serializable for no good
> reason, but can be set in factory. Moreover, there is
> {{CacheJdbcPojoStoreFactorySelfTest.testSerializable()}} which checks that H2
> dialect can't be used (???). I think we should make {{JdbcDialect}} implement
> {{Serializable}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)