Friday, October 5, 2012

db executeUpdate , return boolean instead of int {smart code}

public boolean dbDelete(sql){
 return ( db.executeUpdate(sql) ) > 0 ;
}

No comments:

Post a Comment