Class JDBCTemplate

  • Direct Known Subclasses:
    Querier, Updater

    public abstract class JDBCTemplate
    extends Object
    Deprecated.
    Use Hibernate instead of plain JDBC

    Abstract JDBCTemplate class.

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

      • JDBCTemplate

        protected JDBCTemplate​(DataSource db,
                               String sql)
        Deprecated.

        Constructor for JDBCTemplate.

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

      • execute

        public void execute​(Object... values)
        Deprecated.

        execute

        Parameters:
        values - a Object object.
      • reproduceStatement

        public String reproduceStatement​(Object[] values)
        Deprecated.

        reproduceStatement

        Parameters:
        values - an array of Object objects.
        Returns:
        a String object.