ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-1753 Minor.
Date Tue, 10 Nov 2015 06:42:43 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1753-1282 e6f04883d -> 5626dfb43


IGNITE-1753 Minor.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/5626dfb4
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/5626dfb4
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/5626dfb4

Branch: refs/heads/ignite-1753-1282
Commit: 5626dfb43a74196c28d8214f638af561121ac111
Parents: e6f0488
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Tue Nov 10 13:42:58 2015 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Tue Nov 10 13:42:58 2015 +0700

----------------------------------------------------------------------
 .../cache/store/jdbc/CacheAbstractJdbcStore.java      | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/5626dfb4/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java
b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java
index c28a5cd..ae39c24 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java
@@ -105,16 +105,12 @@ import static org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.DFLT_
  * <h2 class="header">Java Example</h2>
  * <pre name="code" class="java">
  *    ...
- *    // Create store configuration:
- *    CacheJdbcPojoStoreConfiguration storeCfg = new CacheJdbcPojoStoreConfiguration();
- *    storeCfg.setDataSourceBean("your_data_source_name");
- *    storeCfg.setDialect(new H2Dialect());
- *    storeCfg.setTypes(array_with_your_types);
- *    ...
  *    // Create store factory.
  *    CacheJdbcPojoStoreFactory storeFactory = new CacheJdbcPojoStoreFactory();
- *    storeFactory.setConfiguration(storeCfg);
- *
+ *    storeFactory.setDataSourceBean("your_data_source_name");
+ *    storeFactory.setDialect(new H2Dialect());
+ *    storeFactory.setTypes(array_with_your_types);
+ *    ...
  *    ccfg.setCacheStoreFactory(storeFactory);
  *    ccfg.setReadThrough(true);
  *    ccfg.setWriteThrough(true);
@@ -166,7 +162,7 @@ public abstract class CacheAbstractJdbcStore<K, V> implements CacheStore<K,
V>,
     /** Data source. */
     protected DataSource dataSrc;
 
-    /** Cache with entry mapping description. (cache name, (keyID, mapping description)).
*/
+    /** Cache with entry mapping description. (cache name, (key id, mapping description)).
*/
     protected volatile Map<String, Map<Object, EntryMapping>> cacheMappings =
Collections.emptyMap();
 
     /** Map for quick check whether type is Built in, POJO or Binary. */


Mime
View raw message