Class DbH2ServerStartup


  • public class DbH2ServerStartup
    extends java.lang.Object
    Start H2 database TCP server in order to access sample in-memory database from other processes.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Start H2 database TCP server.
      static void populateDatabase()
      Populate sample database.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DbH2ServerStartup

        public DbH2ServerStartup()
    • Method Detail

      • populateDatabase

        public static void populateDatabase()
                                     throws java.sql.SQLException
        Populate sample database.
        Throws:
        java.sql.SQLException - if
      • main

        public static void main​(java.lang.String[] args)
                         throws IgniteException
        Start H2 database TCP server.
        Parameters:
        args - Command line arguments, none required.
        Throws:
        IgniteException - If start H2 database TCP server failed.