transaction and persistence