Hi,
I was wondering what the advantages/disadvantages or doing a MySQL replace vs. doing either an update or insert statement are.
Basically,
doing
dao.replaceEntry(entry);
instead of:
if(existing){
dao.insertEntry(entry);
} else {
dao.updateEntry(entry);
}
Also, would it be misleading to call the dao.replaceEntry call dao.insertOrUpdate?