com.diasparsoftware.jdbc
Class RowCountRowMapper

java.lang.Object
  extended bycom.diasparsoftware.jdbc.JdbcMapper
      extended bycom.diasparsoftware.jdbc.JdbcRowMapper
          extended bycom.diasparsoftware.jdbc.RowCountRowMapper

public final class RowCountRowMapper
extends JdbcRowMapper

Extracts the row count from a SELECT COUNT(...) statement.


Constructor Summary
RowCountRowMapper()
           
 
Method Summary
 java.lang.Object makeDomainObject(java.sql.ResultSet row)
          Make a domain object from the row referred to by row.
 
Methods inherited from class com.diasparsoftware.jdbc.JdbcMapper
getDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowCountRowMapper

public RowCountRowMapper()
Method Detail

makeDomainObject

public java.lang.Object makeDomainObject(java.sql.ResultSet row)
                                  throws java.sql.SQLException
Description copied from class: JdbcRowMapper
Make a domain object from the row referred to by row.

Specified by:
makeDomainObject in class JdbcRowMapper
Parameters:
row -
Returns:
Throws:
java.sql.SQLException


Copyright © 2003-2004 Diaspar Software Services, Inc.. All Rights Reserved.