Class HsqldbDatabase

java.lang.Object
org.marid.db.hsqldb.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.
  • Constructor Summary

    Constructors 
    Constructor Description
    HsqldbDatabase​(HsqldbProperties properties)  
  • Method Summary

    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 Details

  • Method Details

    • 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)