ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject [13/50] [abbrv] incubator-ignite git commit: #ignite-106: Revert renaming in hibernate.
Date Thu, 05 Feb 2015 09:25:31 GMT
#ignite-106: Revert renaming in hibernate.


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

Branch: refs/heads/ignite-82
Commit: a21eae4bb182d3d0b8abfaca354540bc6cf120db
Parents: f2e4902
Author: ivasilinets <vasilinetc.ira@gmail.com>
Authored: Wed Feb 4 09:34:18 2015 +0300
Committer: ivasilinets <vasilinetc.ira@gmail.com>
Committed: Wed Feb 4 09:34:18 2015 +0300

----------------------------------------------------------------------
 examples/config/hibernate/example-hibernate-L2-cache.xml           | 2 +-
 .../datagrid/hibernate/HibernateL2CacheExampleNodeStartup.java     | 2 +-
 .../apache/ignite/cache/hibernate/GridHibernateRegionFactory.java  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a21eae4b/examples/config/hibernate/example-hibernate-L2-cache.xml
----------------------------------------------------------------------
diff --git a/examples/config/hibernate/example-hibernate-L2-cache.xml b/examples/config/hibernate/example-hibernate-L2-cache.xml
index 435f76a..71380df 100644
--- a/examples/config/hibernate/example-hibernate-L2-cache.xml
+++ b/examples/config/hibernate/example-hibernate-L2-cache.xml
@@ -45,7 +45,7 @@
         <property name="cache.region.factory_class">org.apache.ignite.cache.hibernate.GridHibernateRegionFactory</property>
 
         <!-- Specify the name of the ignite, that will be used for second level caching.
-->
-        <property name="org.apache.ignite.hibernate.ignite_name">hibernate-ignite</property>
+        <property name="org.apache.ignite.hibernate.grid_name">hibernate-grid</property>
 
         <!-- Specify connection release mode. -->
         <property name="connection.release_mode">on_close</property>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a21eae4b/examples/src/main/java/org/apache/ignite/examples/datagrid/hibernate/HibernateL2CacheExampleNodeStartup.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/hibernate/HibernateL2CacheExampleNodeStartup.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/hibernate/HibernateL2CacheExampleNodeStartup.java
index 96bf543..8ebba72 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/hibernate/HibernateL2CacheExampleNodeStartup.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/hibernate/HibernateL2CacheExampleNodeStartup.java
@@ -52,7 +52,7 @@ public class HibernateL2CacheExampleNodeStartup {
     public static IgniteConfiguration configuration() throws IgniteException {
         IgniteConfiguration cfg = new IgniteConfiguration();
 
-        cfg.setGridName("hibernate-ignite");
+        cfg.setGridName("hibernate-grid");
         cfg.setLocalHost("127.0.0.1");
         cfg.setRestEnabled(false);
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a21eae4b/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/GridHibernateRegionFactory.java
----------------------------------------------------------------------
diff --git a/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/GridHibernateRegionFactory.java
b/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/GridHibernateRegionFactory.java
index 432d1b9..e1c164d 100644
--- a/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/GridHibernateRegionFactory.java
+++ b/modules/hibernate/src/main/java/org/apache/ignite/cache/hibernate/GridHibernateRegionFactory.java
@@ -60,7 +60,7 @@ public class GridHibernateRegionFactory implements RegionFactory {
     private static final long serialVersionUID = 0L;
 
     /** Hibernate L2 cache grid name property name. */
-    public static final String GRID_NAME_PROPERTY = "org.apache.ignite.hibernate.ignite_name";
+    public static final String GRID_NAME_PROPERTY = "org.apache.ignite.hibernate.grid_name";
 
     /** Default cache property name. */
     public static final String DFLT_CACHE_NAME_PROPERTY = "org.apache.ignite.hibernate.default_cache";


Mime
View raw message