Class H2ConfigurationHelper


  • public class H2ConfigurationHelper
    extends Object
    Utility class to configure H2 in development.

    We don't want to include H2 when we are packaging for the "prod" profile and won't actually need it, so we have to load / invoke things at runtime through reflection.

    • Constructor Detail

      • H2ConfigurationHelper

        public H2ConfigurationHelper()
    • Method Detail

      • initH2Console

        public static void initH2Console()
        Init the H2 console via H2's webserver when no servletContext ServletContext is available.
      • initH2Console

        public static void initH2Console​(javax.servlet.ServletContext servletContext)

        initH2Console.

        Parameters:
        servletContext - a ServletContext object.