org.brains2b.sql.oracle
Class OracleDC

java.lang.Object
  extended by org.brains2b.data.sql.SqlDC
      extended by org.brains2b.sql.oracle.OracleDC
All Implemented Interfaces:
DataControl

Deprecated. use SqlDC instead

public abstract class OracleDC
extends SqlDC

Abstract class for OraceDataControl objects.

Implements the Object to hold, the Connection and the PreparedStatement to use but propagates all methods of the DataControl interface for concrete implementation

Adds an additional protected abstract method getObject(ResultSet) as a standardized method to create a data Object from a given ResultSet

Version:
0.1 [20-01-2002]
Author:
dennis@brains2b.nl
See Also:
DataControl

Field Summary
 
Fields inherited from class org.brains2b.data.sql.SqlDC
m_con, m_obj, m_prep
 
Constructor Summary
OracleDC(java.sql.Connection con, java.lang.Object o)
          Deprecated. Constructor for OracleDC which sets the Connection to use for this DataControl and the Object on which it should operate.
 
Method Summary
 
Methods inherited from class org.brains2b.data.sql.SqlDC
getObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.brains2b.data.DataControl
delete, insert, retrieve, retrieveList, update
 

Constructor Detail

OracleDC

public OracleDC(java.sql.Connection con,
                java.lang.Object o)
Deprecated. 
Constructor for OracleDC which sets the Connection to use for this DataControl and the Object on which it should operate.

Parameters:
con - Connection, the JDBC connection to use
o - Object, the Object for which this DataControl exists.