org.apache.ojb.broker.accesslayer
Class ResultSetAndStatement

java.lang.Object
  extended byorg.apache.ojb.broker.accesslayer.ResultSetAndStatement

public class ResultSetAndStatement
extends java.lang.Object

Intern used wrapper for Statement and ResultSet instances.

Version:
$Id: ResultSetAndStatement.java,v 1.10 2003/12/13 17:50:40 arminw Exp $

Field Summary
 java.sql.ResultSet m_rs
           
 java.sql.Statement m_stmt
           
 
Constructor Summary
ResultSetAndStatement(Platform platform, java.sql.Statement stmt, java.sql.ResultSet rs)
           
 
Method Summary
 void close()
          do a platform specific resource release.
protected  void finalize()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_rs

public final java.sql.ResultSet m_rs

m_stmt

public final java.sql.Statement m_stmt
Constructor Detail

ResultSetAndStatement

public ResultSetAndStatement(Platform platform,
                             java.sql.Statement stmt,
                             java.sql.ResultSet rs)
Method Detail

close

public void close()
do a platform specific resource release.
Note: This method must be called after usage of this class.


finalize

protected void finalize()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14