rmrs.persist
Class ObjectRelationalBroker

java.lang.Object
  |
  +--rmrs.persist.RelationalBroker
        |
        +--rmrs.persist.ObjectRelationalBroker

public class ObjectRelationalBroker
extends RelationalBroker

A persistence broker used with PostgreSQL (and perhaps other SQL3 data bases,) where an object can be stored in one table access.

Version:
$Id: ObjectRelationalBroker.java,v 1.1 1999/12/06 19:25:44 schadow Exp SCHADOW_G $
Author:
Gunther Schadow

Fields inherited from class rmrs.persist.RelationalBroker
classMap, con, objectCache, password, url, user
 
Constructor Summary
ObjectRelationalBroker(java.sql.Connection con)
           
ObjectRelationalBroker(java.lang.String url, java.lang.String user, java.lang.String password)
           
 
Method Summary
 PersistentObject load(java.lang.Class classToConformTo, OID oid)
          LOAD
 ObjectSet query(PersistentObject queryExample)
          QUERY
 OID save(PersistentObject o)
          SAVE
 
Methods inherited from class rmrs.persist.RelationalBroker
buildQuery, doLoad, doSave, initializeClassMap, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectRelationalBroker

public ObjectRelationalBroker(java.lang.String url,
                              java.lang.String user,
                              java.lang.String password)
                       throws PersistException

ObjectRelationalBroker

public ObjectRelationalBroker(java.sql.Connection con)
                       throws PersistException
Method Detail

save

public OID save(PersistentObject o)
         throws PersistException
Description copied from class: RelationalBroker
SAVE
Overrides:
save in class RelationalBroker

load

public PersistentObject load(java.lang.Class classToConformTo,
                             OID oid)
                      throws PersistException
Description copied from class: RelationalBroker
LOAD
Overrides:
load in class RelationalBroker

query

public ObjectSet query(PersistentObject queryExample)
                throws PersistException
Description copied from class: RelationalBroker
QUERY
Overrides:
query in class RelationalBroker