Class JDBCQuery


  • public class JDBCQuery
    extends java.lang.Object
    Since:
    3.1-u6
    • Constructor Summary

      Constructors 
      Constructor Description
      JDBCQuery​(Tenant tenant, java.lang.String query, java.util.List values)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void execute()  
      java.sql.ResultSet getResultSet()  
      protected java.lang.RuntimeException handleError​(java.sql.SQLException exception)  
      boolean hasNext()  
      java.util.Date readDate​(int pos)  
      PK readPK​(int pos)  
      • Methods inherited from class java.lang.Object

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

      • JDBCQuery

        public JDBCQuery​(Tenant tenant,
                         java.lang.String query,
                         java.util.List values)
    • Method Detail

      • execute

        public void execute()
      • readPK

        public PK readPK​(int pos)
      • readDate

        public java.util.Date readDate​(int pos)
      • hasNext

        public boolean hasNext()
      • getResultSet

        public java.sql.ResultSet getResultSet()
      • handleError

        protected java.lang.RuntimeException handleError​(java.sql.SQLException exception)
      • close

        public void close()