|
Subject:
|
Testing connection
|
|
Posted By:
|
andrejv
|
Post Date:
|
9/23/2003 9:17:32 AM
|
Hello,
how can I test connection to DB to chech if application is still connected?
Thank you, Andrej
|
|
Reply By:
|
Martyn
|
Reply Date:
|
9/23/2003 9:30:11 AM
|
use Connection.isClosed. See JavaDoc for more information.
cheers
Martyn
|
|
Reply By:
|
Martyn
|
Reply Date:
|
9/23/2003 9:33:09 AM
|
Opps! Sorry, I forgot the brackets, it is a method call and it should have read Connection.isClosed()
cheers
Martyn
|