Interface JKPopulator<T>


public interface JKPopulator<T>
This interface defines a method for populating objects of type T from a ResultSet.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
  • Method Summary

    Modifier and Type
    Method
    Description
    This method populates an object of type T from a ResultSet.
  • Method Details

    • populate

      T populate(ResultSet rs) throws SQLException
      This method populates an object of type T from a ResultSet.
      Parameters:
      rs - Specifies the ResultSet containing query results.
      Returns:
      the object populated with data from the ResultSet.
      Throws:
      SQLException - if a database access error occurs.