DbStarter

This class can be used to start the H2 TCP server (or other H2 servers, for example the PG server) inside a web application container such as Tomcat or Jetty. It can also open a database connection.

Methods
void contextDestroyed(ServletContextEvent servletContextEvent)
void contextDestroyed(ServletContextEvent servletContextEvent)
void contextInitialized(ServletContextEvent servletContextEvent)
void contextInitialized(ServletContextEvent servletContextEvent)
Connection getConnection()
Get the connection.
Connection getConnection()
Get the connection.
Returns:
the connection