geekblog 0.0.1-dev

geekblog
Class HSQLDataManager

java.lang.Object
  |
  +--geekblog.JDBCDataManager
        |
        +--geekblog.HSQLDataManager
All Implemented Interfaces:
DataManager

public class HSQLDataManager
extends JDBCDataManager

JDBCDataManager derivative specifically for storing into an HSQLDB in-proc database. (Only customization is in database creation scripts.)


Field Summary
 
Fields inherited from class geekblog.JDBCDataManager
conn, statements
 
Fields inherited from interface geekblog.DataManager
KEY
 
Constructor Summary
HSQLDataManager()
          Constructor placeholder; all real work done in init()
 
Method Summary
 void init(javax.servlet.ServletContext context)
          Initializer.
 
Methods inherited from class geekblog.JDBCDataManager
destroy, findEntries, getAllEntries, getArticleEntries, getCommentCountForEntry, getCommentsForEntry, getConnection, getEntriesForDate, getEntriesForMonth, getEntry, getEntryCountForDate, getEntryCountForMonth, getLastNEntries, markAsArticle, postComment, postEntry, removeEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HSQLDataManager

public HSQLDataManager()
Constructor placeholder; all real work done in init()

Method Detail

init

public void init(javax.servlet.ServletContext context)
Initializer. Customizes the JDBC URL to point to the file path location where the webapp is installed, plus customize the DDL for the database to HSQL needs.

Specified by:
init in interface DataManager
Overrides:
init in class JDBCDataManager

geekblog 0.0.1-dev

Copyright © 2003 Ted Neward. All Rights Reserved.