| Author |
Thread.interrupt kills database connection
|
Chinni Bujji
Ranch Hand
Joined: Jan 31, 2007
Posts: 60
|
|
Hi All,
I have thread, in the run method of the thread i have a while loop which continuously runs to query the database to get new records from the table
but when i am interrupting the thread using thread.interrupt() it is killing my database connection
any ideas please help
thanks in advance
|
 |
Ninad Kulkarni
Ranch Hand
Joined: Aug 31, 2007
Posts: 774
|
|
|
If you post example code then it is easy to think on that. Would it be possible for you to give example with code?
|
SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
|
 |
 |
|
|
subject: Thread.interrupt kills database connection
|
|
|