When you run it directly in Oracle, is the hint used? That is, with a host variable.
In reply to Re^3: Using Optimizer Hints by chacham in thread Using Optimizer Hints by sen