ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [09/16] incubator-ignite git commit: # IGNITE-330 Change JDBC URL to ~/schema-import/demo.
Date Mon, 23 Mar 2015 14:21:38 GMT
# IGNITE-330 Change JDBC URL to ~/schema-import/demo.


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

Branch: refs/heads/ignite-556
Commit: 60484429ca0744fc213e5ecfc8aa156ae2210886
Parents: 5772ef4
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Mar 23 20:08:22 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Mar 23 20:08:22 2015 +0700

----------------------------------------------------------------------
 examples/schema-import/README.txt                   | 7 ++-----
 examples/schema-import/bin/schema-import.properties | 6 ++----
 2 files changed, 4 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/60484429/examples/schema-import/README.txt
----------------------------------------------------------------------
diff --git a/examples/schema-import/README.txt b/examples/schema-import/README.txt
index 15d931d..037ccc1 100644
--- a/examples/schema-import/README.txt
+++ b/examples/schema-import/README.txt
@@ -17,8 +17,7 @@ Schema Import Utility Demo
 
 2. Connect to H2 database with following settings:
    Select "Generic H2 (Server)" settings.
-   Enter JDBC URL: "jdbc:h2:tcp://localhost/IGNITE_PATH/examples/schema-import/demo".
-   Note, you need to replace "IGNITE_PATH" with full path to folder where Ignite was installed.
+   Enter JDBC URL: "jdbc:h2:tcp://localhost/~/schema-import/demo".
    Click "Connect".
 
 3. Paste content of "examples/schema-import/bin/db-init.sql" into H2 Console and execute.
@@ -32,9 +31,7 @@ Schema Import Utility Demo
 6. Set datasource in `CacheConfig.store()` method to:
 
    DataSource dataSource =
-    org.h2.jdbcx.JdbcConnectionPool.create("jdbc:h2:tcp://localhost/IGNITE_PATH/examples/schema-import/demo",
"sa", "");
-
-   Note, you need to replace "IGNITE_PATH" with full path to folder where Ignite was installed.
+    org.h2.jdbcx.JdbcConnectionPool.create("jdbc:h2:tcp://localhost/~/schema-import/demo",
"sa", "");
 
 7. Run "Demo.java" example.
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/60484429/examples/schema-import/bin/schema-import.properties
----------------------------------------------------------------------
diff --git a/examples/schema-import/bin/schema-import.properties b/examples/schema-import/bin/schema-import.properties
index 1ab14da..c2ee5e9 100644
--- a/examples/schema-import/bin/schema-import.properties
+++ b/examples/schema-import/bin/schema-import.properties
@@ -15,15 +15,13 @@
 # limitations under the License.
 #
 
-#########################################################################
 #
-#  Predifined properties for Ignite Schema Import Demo
+#  Predefined properties for Ignite Schema Import Demo
 #
-#########################################################################
 jdbc.db.preset=0
 jdbc.driver.jar=%IGNITE_HOME%/libs/ignite-indexing/h2-1.3.175.jar
 jdbc.driver.class=org.h2.Driver
-jdbc.url=jdbc:h2:tcp://localhost/%IGNITE_HOME%/examples/schema-import/demo
+jdbc.url=jdbc:h2:tcp://localhost/~/schema-import/demo
 jdbc.user=sa
 out.folder=%IGNITE_HOME%/examples/schema-import/src/main/java
 pojo.package=org.apache.ignite.schema


Mime
View raw message