Class H2Util

java.lang.Object
com.landawn.abacus.jdbc.H2Util

public final class H2Util extends Object
Since:
0.8
Author:
Haiyang Li
  • Method Details

    • startTcpServer

      public static void startTcpServer() throws SQLException
      Start tcp server.
      Throws:
      SQLException - the SQL exception
    • startTcpServer

      public static void startTcpServer(int tcpPort) throws SQLException
      Start tcp server.
      Parameters:
      tcpPort -
      Throws:
      SQLException - the SQL exception
    • stopTcpServer

      public static void stopTcpServer() throws SQLException
      Stop tcp server.
      Throws:
      SQLException - the SQL exception
    • stopTcpServer

      public static void stopTcpServer(int portNum) throws SQLException
      Stop tcp server.
      Parameters:
      portNum -
      Throws:
      SQLException - the SQL exception
    • execute

      @SafeVarargs public static void execute(String... args) throws SQLException
      Parameters:
      args -
      Throws:
      SQLException - the SQL exception
      See Also: