public int update ( String sql , Object ... paras ) { Connection conn = null ; try { conn = config . getConnection ( ) ; return update ( config , conn , sql , paras ) ; } catch ( Exception e ) { throw new ActiveRecordException ( e ) ; } finally { config . close ( conn ) ; } }
Execute update insert or delete sql statement .