dbobjects
Class DBObject

java.lang.Object
  |
  +--dbobjects.DBObject
Direct Known Subclasses:
DBObject.DBField, MyTable, MyTableFactory

public abstract class DBObject
extends java.lang.Object


Inner Class Summary
protected  class DBObject.DBBigInteger
           
protected  class DBObject.DBChar
           
protected  class DBObject.DBDate
           
protected  class DBObject.DBDecimal
           
protected  class DBObject.DBDouble
           
protected  class DBObject.DBField
           
protected  class DBObject.DBFloat
           
protected  class DBObject.DBInteger
           
protected  class DBObject.DBLongVarChar
           
protected  class DBObject.DBNoType
           
protected  class DBObject.DBNumeric
           
protected  class DBObject.DBReal
           
protected  class DBObject.DBSmallInt
           
protected  class DBObject.DBTime
           
protected  class DBObject.DBTimestamp
           
protected  class DBObject.DBTinyInt
           
protected  class DBObject.DBVarChar
           
 
Constructor Summary
DBObject()
           
 
Method Summary
protected static java.sql.Connection getConnection()
          Gets a connection to the connection pool.
protected static void log(java.lang.String msg)
           
protected  void psSetObject(java.sql.PreparedStatement ps, int fieldNum, DBObject.DBField field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBObject

public DBObject()
Method Detail

getConnection

protected static java.sql.Connection getConnection()
Gets a connection to the connection pool.
Returns:
Connection to the database

log

protected static void log(java.lang.String msg)

psSetObject

protected void psSetObject(java.sql.PreparedStatement ps,
                           int fieldNum,
                           DBObject.DBField field)
                    throws java.sql.SQLException