# ignite-45 - demo fixes.

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

Branch: refs/heads/ignite-release-test-no-mod
Commit: f4c5a8260993220bf6ef9ccdc5784e71cd29266e
Parents: bf2582c
Author: Dmitiry Setrakyan <dsetrak...@gridgain.com>
Authored: Mon Mar 23 01:17:19 2015 -0700
Committer: Dmitiry Setrakyan <dsetrak...@gridgain.com>
Committed: Mon Mar 23 01:17:19 2015 -0700

----------------------------------------------------------------------
 examples/schema-import/README.txt      | 9 ++++++---
 examples/schema-import/bin/db-init.sql | 1 +
 2 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f4c5a826/examples/schema-import/README.txt
----------------------------------------------------------------------
diff --git a/examples/schema-import/README.txt 
b/examples/schema-import/README.txt
index dc2ed2d..24cc4d0 100644
--- a/examples/schema-import/README.txt
+++ b/examples/schema-import/README.txt
@@ -15,13 +15,16 @@ Schema Import Utility Demo
 
 1. Start H2 database: "examples/schema-import/bin/h2-server.sh"
    H2 database will start and H2 Console will be opened in your default 
browser.
-   Paste content of "examples/schema-import/bin/db-init.sql" into H2 Console 
and execute.
 
-2. Start Schema Import utility: "bin/ignite-schema-import.sh 
examples/schema-import/bin/schema-import.properties"
+2. Connect to H2 database with all default settings.
+
+3. Paste content of "examples/schema-import/bin/db-init.sql" into H2 Console 
and execute.
+
+4. Start Schema Import utility: "bin/ignite-schema-import.sh 
examples/schema-import/bin/schema-import.properties"
    Schema Utility will start with predefined settings for this demo.
    Click "Next", "Generate" and answer "Yes" to override warning.
 
-3. Import "examples/schema-import/pom.xml" in your Java IDE.
+5. Import "examples/schema-import/pom.xml" in your Java IDE.
    Run "Demo.java" example.
 
 For more information on how to get started with Apache Ignite Schema Import 
Utility please visit:

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f4c5a826/examples/schema-import/bin/db-init.sql
----------------------------------------------------------------------
diff --git a/examples/schema-import/bin/db-init.sql 
b/examples/schema-import/bin/db-init.sql
index c7175f2..52fcb27 100644
--- a/examples/schema-import/bin/db-init.sql
+++ b/examples/schema-import/bin/db-init.sql
@@ -1,4 +1,5 @@
 -- Script of database initialization for Schema Import Demo.
+drop table PERSON;
 create table PERSON(id integer not null, first_name varchar(50), last_name 
varchar(50), PRIMARY KEY(id));
 
 insert into PERSON(id, first_name, last_name) values(1, 'Johannes', 'Kepler');

Reply via email to