use session.queryPreprocess implementations instead of calling session.queryPreprocess to void sql error