This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Why the program does not terminate? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Why the program does not terminate?" Watch "Why the program does not terminate?" New topic

Why the program does not terminate?

prachi jahagirdar

Joined: Feb 02, 2004
Posts: 11
I have written program which processes with thousands of records using JDBC. When limited records are used it terminates properly. when the number of records are increased, the program doesn't terminate. To check the execution I am printing some messages at each stage. It is printing the last message, but not terminating.
I couldn't understand why this is happening. Can you help me with this...
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Moving this to the JDBC forum...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
sever oon
Ranch Hand

Joined: Feb 08, 2004
Posts: 268
We'll have to see the loop, friend. There's no way anyone can give you useful information about your problem without seeing the relevant code (start by just posting the loop itself).
Have you checked out Aspose?
subject: Why the program does not terminate?
It's not a secret anymore!