Just a suggestion..
when you are executing executeUpdate() in for loop.. instead of the use batch process.. meaning create your all insert sql statement as string..e.g.
String [] insert = new String[100]; // you know number of records you want to insert from your program
for (i=0; i< count;i++){
insert[i] = "insert into ....";
}
stmt.executeBatch();
that way you will save lot of value time in inserting & update every single statement.
But your current
JDBC driver must support this feature.
--I forgot the file name but here is want I know at Oracle side..
At Oracle side make sure you have created name in listener.ora or tns.ora [file are in network directory where you have install oracle]