How to use a transaction without savepoints.