After fixing HHH-11640, query optimizers fail on Oracle because the parser cannot recognize query hints when detecting the SQL statement type.