org.apache.ojb.broker.accesslayer
Class ResultSetAndStatement

java.lang.Object
  extended by org.apache.ojb.broker.accesslayer.ResultSetAndStatement

public class ResultSetAndStatement
extends java.lang.Object

Intern used wrapper for Statement and ResultSet instances.

Version:
$Id: ResultSetAndStatement.java 365232 2005-12-21 22:36:07Z tomdz $

Field Summary
 java.sql.ResultSet m_rs
           
 org.apache.ojb.broker.accesslayer.sql.SelectStatement m_sql
           
 java.sql.Statement m_stmt
           
 
Constructor Summary
ResultSetAndStatement(StatementManagerIF manager, java.sql.Statement stmt, java.sql.ResultSet rs, org.apache.ojb.broker.accesslayer.sql.SelectStatement sql)
           
 
Method Summary
 void close()
          do a platform specific resource release.
 
Methods inherited from class java.lang.Object
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

m_sql

public final org.apache.ojb.broker.accesslayer.sql.SelectStatement m_sql
Constructor Detail

ResultSetAndStatement

public ResultSetAndStatement(StatementManagerIF manager,
                             java.sql.Statement stmt,
                             java.sql.ResultSet rs,
                             org.apache.ojb.broker.accesslayer.sql.SelectStatement sql)
Method Detail

close

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



(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30