Class MixedMode

java.lang.Object
org.h2.samples.MixedMode

public class MixedMode extends Object
This sample program opens the same database once in embedded mode, and once in the server mode. The embedded mode is faster, but only the server mode supports remote connections.
  • Constructor Details

    • MixedMode

      public MixedMode()
  • Method Details

    • main

      public static void main(String... args) throws Exception
      This method is called when executing this sample application from the command line.
      Parameters:
      args - the command line parameters
      Throws:
      Exception - on failure