DB: create prep stmt after begin transaction