Documentation of 'org.hsqldb.sample.Testdb' Java class
Testdb
org.hsqldb.sample

Class Testdb



  • public class Testdb
    extends java.lang.Object
    Title: Testdb Description: simple hello world db example of a standalone persistent db application every time it runs it adds four more rows to sample_table it does a query and prints the results to standard out Author: Karl Meissner karl@meissnersd.com
    • Constructor Summary

      Constructors 
      Constructor and Description
      Testdb(java.lang.String db_file_name_prefix) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static void dump(java.sql.ResultSet rs) 
      static void main(java.lang.String[] args) 
      void query(java.lang.String expression) 
      void shutdown() 
      void update(java.lang.String expression) 
      • Methods inherited from class java.lang.Object

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

      • Testdb

        public Testdb(java.lang.String db_file_name_prefix)
               throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • shutdown

        public void shutdown()
                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • query

        public void query(java.lang.String expression)
                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • update

        public void update(java.lang.String expression)
                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • dump

        public static void dump(java.sql.ResultSet rs)
                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • main

        public static void main(java.lang.String[] args)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.