added implementation of PersistenceExceptionTranslator for crate