This documentation is for WSO2 IoT Server 3.1.0. View the documentation for the latest release.
Setting up Embedded H2 - IoT Server 3.1.0 - WSO2 Documentation
||
Skip to end of metadata
Go to start of metadata

The following sections describe how to set up an embedded H2 database.

Install H2

Download and install the H2 database engine on your computer.

For instructions on installing DB2 Express-C, see H2 installation guide.

Setting up drivers

WSO2 currently ships H2 database engine version h2-1.2.140.* and its related H2 database driver. If you want to use a different H2 database driver, take the following steps:

  1. Delete the following H2 database-related JAR file, which is shipped with WSO2 products:
    <IoTS_HOME>/wso2/components/plugins/h2_1.3.175.wso2v1.jar
  2. Find the JAR file of the new H2 database driver (<H2_HOME>/bin/h2-*.jar, where <H2_HOME> is the H2 installation directory) and copy it to your WSO2 product's <IoTS_HOME>/lib/ directory.

What's next

Next, you need to configure WSO2 IoTs with Embedded H2 database. For more information, see Changing to Embedded H2.

  • No labels