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

Go to topic 4452

Return to index page 1040
Return to index page 1039
Return to index page 1038
Return to index page 1037
Return to index page 1036
Return to index page 1035
Return to index page 1034
Return to index page 1033
Return to index page 1032
Return to index page 1031