Change ORM to persistence