ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: # IGNITE-32: working on datastore
Date Mon, 26 Jan 2015 02:00:32 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-32 c9803b6ad -> 0057093a8


# IGNITE-32: working on datastore


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

Branch: refs/heads/ignite-32
Commit: 0057093a8da2af16aee0f7a31b6a5ffbbf4fb1da
Parents: c9803b6
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Jan 26 09:00:22 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Jan 26 09:00:22 2015 +0700

----------------------------------------------------------------------
 modules/core/src/test/config/store/jdbc/all.xml | 97 ++++++++++++++++++++
 1 file changed, 97 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0057093a/modules/core/src/test/config/store/jdbc/all.xml
----------------------------------------------------------------------
diff --git a/modules/core/src/test/config/store/jdbc/all.xml b/modules/core/src/test/config/store/jdbc/all.xml
new file mode 100644
index 0000000..4d66531
--- /dev/null
+++ b/modules/core/src/test/config/store/jdbc/all.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+    <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeMetadata">
+        <property name="type" value="org.apache.ignite.cache.store.jdbc.model.Person"/>
+        <property name="keyType" value="org.apache.ignite.cache.store.jdbc.model.PersonKey"/>
+        <property name="schema" value="PUBLIC"/>
+        <property name="tableName" value="PERSON"/>
+        <property name="keyDescriptors">
+            <list>
+                <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeDescriptor">
+                    <property name="javaName" value="id"/>
+                    <property name="javaType" value="java.lang.Integer"/>
+                    <property name="dbName" value="ID"/>
+                    <property name="dbType" value="4"/>
+                </bean>
+            </list>
+        </property>
+        <property name="valueDescriptors">
+            <list>
+                <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeDescriptor">
+                    <property name="javaName" value="id"/>
+                    <property name="javaType" value="java.lang.Integer"/>
+                    <property name="dbName" value="ID"/>
+                    <property name="dbType" value="4"/>
+                </bean>
+                <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeDescriptor">
+                    <property name="javaName" value="orgId"/>
+                    <property name="javaType" value="java.lang.Integer"/>
+                    <property name="dbName" value="ORG_ID"/>
+                    <property name="dbType" value="4"/>
+                </bean>
+                <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeDescriptor">
+                    <property name="javaName" value="name"/>
+                    <property name="javaType" value="java.lang.String"/>
+                    <property name="dbName" value="NAME"/>
+                    <property name="dbType" value="12"/>
+                </bean>
+            </list>
+        </property>
+    </bean>
+    <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeMetadata">
+        <property name="type" value="org.apache.ignite.cache.store.jdbc.model.Organization"/>
+        <property name="keyType" value="org.apache.ignite.cache.store.jdbc.model.OrganizationKey"/>
+        <property name="schema" value="PUBLIC"/>
+        <property name="tableName" value="ORGANIZATION"/>
+        <property name="keyDescriptors">
+            <list>
+                <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeDescriptor">
+                    <property name="javaName" value="id"/>
+                    <property name="javaType" value="java.lang.Integer"/>
+                    <property name="dbName" value="ID"/>
+                    <property name="dbType" value="4"/>
+                </bean>
+            </list>
+        </property>
+        <property name="valueDescriptors">
+            <list>
+                <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeDescriptor">
+                    <property name="javaName" value="id"/>
+                    <property name="javaType" value="java.lang.Integer"/>
+                    <property name="dbName" value="ID"/>
+                    <property name="dbType" value="4"/>
+                </bean>
+                <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeDescriptor">
+                    <property name="javaName" value="city"/>
+                    <property name="javaType" value="java.lang.String"/>
+                    <property name="dbName" value="CITY"/>
+                    <property name="dbType" value="12"/>
+                </bean>
+                <bean class="org.gridgain.grid.cache.query.GridCacheQueryTypeDescriptor">
+                    <property name="javaName" value="name"/>
+                    <property name="javaType" value="java.lang.String"/>
+                    <property name="dbName" value="NAME"/>
+                    <property name="dbType" value="12"/>
+                </bean>
+            </list>
+        </property>
+    </bean>
+</beans>


Mime
View raw message