Added database specific escape translation