Class JdbcResultFactories.ClassFactory<T>

    • Constructor Summary

      Constructors 
      Constructor Description
      ClassFactory​(java.lang.Class<T> objectClass, java.util.List<java.lang.String> fields)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T create​(java.sql.ResultSet result)  
      void init​(java.sql.ResultSet result)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassFactory

        public ClassFactory​(java.lang.Class<T> objectClass,
                            java.util.List<java.lang.String> fields)
    • Method Detail

      • init

        public void init​(java.sql.ResultSet result)
                  throws java.sql.SQLException
        Specified by:
        init in interface JdbcResultFactory<T>
        Throws:
        java.sql.SQLException
      • create

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