Abstracting the database away

ORMs vs plain SQL