Class JKFinderAdapter

java.lang.Object
com.jk.data.dataaccess.core.JKFinderAdapter
All Implemented Interfaces:
JKDBOperation, JKFinder

public class JKFinderAdapter extends Object implements JKFinder
This class is an implementation of the JKFinder interface.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
  • Constructor Details

    • JKFinderAdapter

      public JKFinderAdapter()
  • Method Details

    • getQuery

      public String getQuery()
      This method is yet to be implemented (TBI).
      Specified by:
      getQuery in interface JKFinder
      Returns:
      the SQL query string.
    • populate

      public <T> T populate(ResultSet rs) throws SQLException
      This method is yet to be implemented (TBI).
      Specified by:
      populate in interface JKFinder
      Type Parameters:
      T - Specifies the type of objects.
      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.
    • setParameters

      public void setParameters(PreparedStatement ps) throws SQLException
      This method is yet to be implemented (TBI).
      Specified by:
      setParameters in interface JKFinder
      Parameters:
      ps - Specifies the PreparedStatement to set parameters on.
      Throws:
      SQLException - if a database access error occurs.