org.oddjob.sql
Class ResultSetBeanFactory

java.lang.Object
  extended by org.oddjob.sql.ResultSetBeanFactory

public class ResultSetBeanFactory
extends Object

Helper class that creates beans out of result sets.

Author:
rob

Constructor Summary
ResultSetBeanFactory(ResultSet resultSet, PropertyAccessor accessor, DatabaseDialect dialect)
           
 
Method Summary
 List<Object> all()
           
 Object next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetBeanFactory

public ResultSetBeanFactory(ResultSet resultSet,
                            PropertyAccessor accessor,
                            DatabaseDialect dialect)
                     throws SQLException,
                            ClassNotFoundException
Throws:
SQLException
ClassNotFoundException
Method Detail

next

public Object next()
            throws SQLException
Throws:
SQLException

all

public List<Object> all()
                 throws SQLException
Throws:
SQLException