Hi All,
I am running one application program, what it has do is:
1) Open input file read it and insert the records in the database
2) So i am using BufferedReader, BufferedWritter and
Jdbc 3) I am closing all the resources in the finally block (all checks are done for null...)
Problem is:
The main never exit by itself
Means if i put the
code:
--------------------------------------------------------------------------------
System.exit(0);
--------------------------------------------------------------------------------
line at the end of the main all is doing well otherwise program doesn't terminate.
Has anybody faced this problem?