play.db.helper
Class JdbcResultFactories.ClassFactory<T>

java.lang.Object
  extended by play.db.helper.JdbcResultFactories.ClassFactory<T>
All Implemented Interfaces:
JdbcResultFactory<T>
Enclosing class:
JdbcResultFactories

public static class JdbcResultFactories.ClassFactory<T>
extends Object
implements JdbcResultFactory<T>


Constructor Summary
JdbcResultFactories.ClassFactory(Class<T> objectClass, List<String> fields)
           
 
Method Summary
 T create(ResultSet result)
           
 void init(ResultSet result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcResultFactories.ClassFactory

public JdbcResultFactories.ClassFactory(Class<T> objectClass,
                                        List<String> fields)
Method Detail

init

public void init(ResultSet result)
          throws SQLException
Specified by:
init in interface JdbcResultFactory<T>
Throws:
SQLException

create

public T create(ResultSet result)
         throws SQLException
Specified by:
create in interface JdbcResultFactory<T>
Throws:
SQLException


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly