Class DirectInsert

java.lang.Object
org.h2.samples.DirectInsert

public class DirectInsert extends Object
Demonstrates the benefit of using the CREATE TABLE ... AS SELECT optimization.
  • Constructor Details

    • DirectInsert

      public DirectInsert()
  • 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