question: public static int executeUpdate ( String sql , Object [ ] params , boolean ignoreError , String trxName , int timeOut ) { if ( sql == null || sql . length ( ) == 0 ) throw new IllegalArgumentException ( "Required parameter missing - " + sql ) ; verifyTrx ( trxName , sql ) ; int no = - 1 ; CPreparedStatement cs = ProxyFactory . newCPreparedStatement ( ResultSet . TYPE_FORWARD_ONLY , ResultSet . CONCUR_UPDATABLE , sql , trxName ) ; try { setParameters ( cs , params ) ; if ( timeOut > 0 ) cs . setQueryTimeout ( timeOut ) ; no = cs . executeUpdate ( ) ; if ( trxName == null ) { cs . commit ( ) ; } } catch ( Exception e ) { e = getSQLException ( e ) ; if ( ignoreError ) log . log ( Level . SEVERE , cs . getSql ( ) + " [" + trxName + "] - " + e . getMessage ( ) ) ; else { log . log ( Level . SEVERE , cs . getSql ( ) + " [" + trxName + "]" , e ) ; log . saveError ( "DBExecuteError" , e ) ; } } finally { try { cs . close ( ) ; } catch ( SQLException e2 ) { log . log ( Level . SEVERE , "Cannot close statement" ) ; } } return no ; }
target:  Execute Update. saves "DBExecuteError" in Log