blob: ff2d5175ac4730e44e64b86cea24e0950a2d2a22 [file] [log] [blame]
Apache Ignite Schema Import Utility
Ignite ships with CacheJdbcPojoStore, which is out-of-the-box JDBC
implementation of the IgniteCacheStore interface, and automatically
handles all the write-through and read-through logic.
Ignite also ships with its own database schema mapping wizard which provides automatic
support for integrating with persistence stores. This utility automatically connects to
the underlying database and generates all the required XML OR-mapping configuration
and Java domain model POJOs.
Schema Import Utility Demo
1. Start H2 database: "examples/schema-import/bin/"
H2 server will start and H2 Console will be opened in your default browser.
2. Connect to H2 database with following settings:
a. Select "Generic H2 (Server)" settings.
b. IMPORTANT: enter JDBC URL "jdbc:h2:tcp://localhost/~/schema-import/demo"
c. Click "Connect".
3. Paste content of "examples/schema-import/bin/db-init.sql" into H2 Console and execute.
4. Start Schema Import utility: "IGNITE_HOME/bin/ examples/schema-import/bin/"
Schema Utility will start with predefined settings for this demo.
Click "Next", "Generate" and answer "Yes" to all override warnings.
5. Import "examples/schema-import/pom.xml" in your Java IDE.
6. Run "" example.
For more information on how to get started with Apache Ignite Schema Import Utility please visit: