If I open a connection to my Database and there was some sort of a problem with the stmt or result set and an SQLException occured, do I need to close the Connection to the Database in the SQLException Block?
Is this correct or is ther another way? Thanks [ February 08, 2002: Message edited by: Gregg Bolinger ]
Gregg, your code looks like the norm(with Bosun's suggestion included in the inner try/catch block). <unsubstantiated hearsay> Some people use finally blocks, but I've heard there can be some problems with that too</unsubstantiated hearsay> Maybe someone can verify that. Jamie