factored more transaction classes out of JDBCDatabase