ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [11/15] incubator-ignite git commit: #Tests: fix GridHibernateL2CacheExampleSelfTest
Date Thu, 29 Jan 2015 06:35:26 GMT
#Tests: fix GridHibernateL2CacheExampleSelfTest


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

Branch: refs/heads/ignite-6
Commit: 8643e944b332c526ca05a09aaf3c611199c1f674
Parents: 79ba5af
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Wed Jan 28 19:19:46 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Wed Jan 28 19:19:46 2015 +0300

----------------------------------------------------------------------
 .../config/hibernate/example-hibernate-L2-cache.xml   | 14 +++++++-------
 .../cache/hibernate/GridHibernateRegionFactory.java   | 10 +++++-----
 2 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8643e944/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 86b224a..779dd36 100644
--- a/examples/config/hibernate/example-hibernate-L2-cache.xml
+++ b/examples/config/hibernate/example-hibernate-L2-cache.xml
@@ -45,21 +45,21 @@
         <property name="cache.region.factory_class">org.apache.ignite.cache.hibernate.GridHibernateRegionFactory</property>
 
         <!-- Specify the name of the grid, that will be used for second level caching.
-->
-        <property name="org.gridgain.hibernate.grid_name">hibernate-grid</property>
+        <property name="org.apache.ignite.hibernate.grid_name">hibernate-grid</property>
 
         <!-- Specify connection release mode. -->
         <property name="connection.release_mode">on_close</property>
 
         <!-- Set default L2 cache access type. -->
-        <property name="org.gridgain.hibernate.default_access_type">READ_ONLY</property>
+        <property name="org.apache.ignite.hibernate.default_access_type">READ_ONLY</property>
 
         <!-- Specify the entity classes for mapping. -->
-        <mapping class="org.gridgain.examples.datagrid.hibernate.User"/>
-        <mapping class="org.gridgain.examples.datagrid.hibernate.Post"/>
+        <mapping class="org.apache.ignite.examples.datagrid.hibernate.User"/>
+        <mapping class="org.apache.ignite.examples.datagrid.hibernate.Post"/>
 
         <!-- Per-class L2 cache settings. -->
-        <class-cache class="org.gridgain.examples.datagrid.hibernate.User" usage="read-only"/>
-        <class-cache class="org.gridgain.examples.datagrid.hibernate.Post" usage="read-only"/>
-        <collection-cache collection="org.gridgain.examples.datagrid.hibernate.User.posts"
usage="read-only"/>
+        <class-cache class="org.apache.ignite.examples.datagrid.hibernate.User" usage="read-only"/>
+        <class-cache class="org.apache.ignite.examples.datagrid.hibernate.Post" usage="read-only"/>
+        <collection-cache collection="org.apache.ignite.examples.datagrid.hibernate.User.posts"
usage="read-only"/>
     </session-factory>
 </hibernate-configuration>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8643e944/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 751785d..d9f84d2 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,19 +60,19 @@ 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.gridgain.hibernate.grid_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.gridgain.hibernate.default_cache";
+    public static final String DFLT_CACHE_NAME_PROPERTY = "org.apache.ignite.hibernate.default_cache";
 
     /** Property prefix used to specify region name to cache name mapping. */
-    public static final String REGION_CACHE_PROPERTY = "org.gridgain.hibernate.region_cache.";
+    public static final String REGION_CACHE_PROPERTY = "org.apache.ignite.hibernate.region_cache.";
 
     /** */
-    public static final String DFLT_ACCESS_TYPE_PROPERTY = "org.gridgain.hibernate.default_access_type";
+    public static final String DFLT_ACCESS_TYPE_PROPERTY = "org.apache.ignite.hibernate.default_access_type";
 
     /** */
-    public static final String GRID_CONFIG_PROPERTY = "org.gridgain.hibernate.grid_config";
+    public static final String GRID_CONFIG_PROPERTY = "org.apache.ignite.hibernate.grid_config";
 
     /** Grid providing caches. */
     private Ignite ignite;


Mime
View raw message