Class HsqldbDatabase

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public final class HsqldbDatabase
    extends java.lang.Object
    implements java.io.Closeable
    Author:
    Dmitry Ovchinnikov.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      javax.sql.DataSource dataSource​(java.lang.String name)  
      void init()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HsqldbDatabase

        public HsqldbDatabase​(HsqldbProperties properties)
                       throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException
    • Method Detail

      • init

        public void init()
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • dataSource

        public javax.sql.DataSource dataSource​(java.lang.String name)