geekblog 0.0.1-dev

Class HSQLDataManager

All Implemented Interfaces:

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
Constructor Summary
          Constructor placeholder; all real work done in init()
Method Summary
 void init(javax.servlet.ServletContext context)
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


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

Method Detail


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
init in class JDBCDataManager

geekblog 0.0.1-dev

Copyright © 2003 Ted Neward. All Rights Reserved.