Db: support passing DateTime, Date and Time objects as parameters