java-specific
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment