Class H2Connection

  • All Implemented Interfaces:
    AutoCloseable

    public class H2Connection
    extends Object
    implements AutoCloseable
    Wrapper to store connection with currently used schema and statement cache.
    • Method Detail

      • statementCacheSize

        public int statementCacheSize()
        Returns:
        Statement cache size.
      • close

        public void close()
        Closes wrapped connection (return to pool or close).
        Specified by:
        close in interface AutoCloseable