Class SingleResultQuerier

  • All Implemented Interfaces:
    RowProcessor

    public class SingleResultQuerier
    extends Querier
    Deprecated.
    Use Hibernate instead of plain JDBC

    SingleResultQuerier class.

    Version:
    $Id: $
    Author:
    ranger
    • Constructor Detail

      • SingleResultQuerier

        public SingleResultQuerier​(javax.sql.DataSource db,
                                   java.lang.String sql)
        Deprecated.

        Constructor for SingleResultQuerier.

        Parameters:
        db - a DataSource object.
        sql - a String object.
    • Method Detail

      • getResult

        public java.lang.Object getResult()
        Deprecated.

        getResult

        Returns:
        a Object object.
      • processRow

        public void processRow​(java.sql.ResultSet rs)
                        throws java.sql.SQLException
        Deprecated.

        processRow

        Specified by:
        processRow in interface RowProcessor
        Overrides:
        processRow in class Querier
        Parameters:
        rs - a ResultSet object.
        Throws:
        java.sql.SQLException - if any.