I have successfully used you code in oracle 8i,9i for a long time, But now when I want to use these code in oracle 10g(10.1.0.4.2) and oracle 11g(11.1.0.7.0) then it give me error while creating the java source name "Host"