# ignite-45 Fixed example.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/f586d43d Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/f586d43d Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/f586d43d Branch: refs/heads/sprint-2 Commit: f586d43dbb4a1fc87aec489133362018b2a75dbb Parents: 59960c9 Author: anovikov <anovi...@gridgain.com> Authored: Tue Mar 24 09:27:18 2015 +0700 Committer: anovikov <anovi...@gridgain.com> Committed: Tue Mar 24 09:27:18 2015 +0700 ---------------------------------------------------------------------- examples/schema-import/README.txt | 7 +------ examples/schema-import/bin/db-init.sql | 12 ++++++------ 2 files changed, 7 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f586d43d/examples/schema-import/README.txt ---------------------------------------------------------------------- diff --git a/examples/schema-import/README.txt b/examples/schema-import/README.txt index 037ccc1..927c749 100644 --- a/examples/schema-import/README.txt +++ b/examples/schema-import/README.txt @@ -28,12 +28,7 @@ Schema Import Utility Demo 5. Import "examples/schema-import/pom.xml" in your Java IDE. -6. Set datasource in `CacheConfig.store()` method to: - - DataSource dataSource = - org.h2.jdbcx.JdbcConnectionPool.create("jdbc:h2:tcp://localhost/~/schema-import/demo", "sa", ""); - -7. Run "Demo.java" example. +6. 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/f586d43d/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 f450af7..4568959 100644 --- a/examples/schema-import/bin/db-init.sql +++ b/examples/schema-import/bin/db-init.sql @@ -2,9 +2,9 @@ drop table PERSON; create table PERSON(id integer not null, first_name varchar(50), last_name varchar(50), salary double not null, PRIMARY KEY(id)); -insert into PERSON(id, first_name, last_name) values(1, 'Johannes', 'Kepler', 1000); -insert into PERSON(id, first_name, last_name) values(2, 'Galileo', 'Galilei', 2000); -insert into PERSON(id, first_name, last_name) values(3, 'Henry', 'More', 3000); -insert into PERSON(id, first_name, last_name) values(4, 'Polish', 'Brethren', 4000); -insert into PERSON(id, first_name, last_name) values(5, 'Robert', 'Boyle', 5000); -insert into PERSON(id, first_name, last_name) values(6, 'Isaac', 'Newton', 6000); +insert into PERSON(id, first_name, last_name, salary) values(1, 'Johannes', 'Kepler', 1000); +insert into PERSON(id, first_name, last_name, salary) values(2, 'Galileo', 'Galilei', 2000); +insert into PERSON(id, first_name, last_name, salary) values(3, 'Henry', 'More', 3000); +insert into PERSON(id, first_name, last_name, salary) values(4, 'Polish', 'Brethren', 4000); +insert into PERSON(id, first_name, last_name, salary) values(5, 'Robert', 'Boyle', 5000); +insert into PERSON(id, first_name, last_name, salary) values(6, 'Isaac', 'Newton', 6000);