add transaction handling to SQLQuery