Class BaseStatementHandler

    • Method Detail

      • prepare

        public java.sql.Statement prepare​(java.sql.Connection connection,
                                          java.lang.Integer transactionTimeout)
                                   throws java.sql.SQLException
        Specified by:
        prepare in interface StatementHandler
        Throws:
        java.sql.SQLException
      • instantiateStatement

        protected abstract java.sql.Statement instantiateStatement​(java.sql.Connection connection)
                                                            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setStatementTimeout

        protected void setStatementTimeout​(java.sql.Statement stmt,
                                           java.lang.Integer transactionTimeout)
                                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setFetchSize

        protected void setFetchSize​(java.sql.Statement stmt)
                             throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • closeStatement

        protected void closeStatement​(java.sql.Statement statement)
      • generateKeys

        protected void generateKeys​(java.lang.Object parameter)