-
October 31st, 2016, 01:12 PM
#8
Hello Giuseppe,
Thank you again for the rapid response and helpful advice.
As for the original code, it was exactly what I was looking for i.e. a solution that didn't require further development because I am still learning Java.
Would your code suggestion look something like this?
finally {
try { if (rs != null) rs.close(); } catch (Exception e) {};
try { if (stmt != null) stmt.close(); } catch (Exception e) {};
try { if (conn != null) conn.close(); } catch (Exception e) {};
}
best regards,
longtrain0
Similar Threads
-
By Alessandro in forum Adapter SDKs
Replies: 12
Last Post: May 22nd, 2023, 01:42 PM
-
By zschmidt in forum Adapter SDKs
Replies: 2
Last Post: April 30th, 2014, 04:14 PM
-
By irazabal.alex@gmail.com in forum Client SDKs
Replies: 1
Last Post: March 31st, 2010, 10:06 AM
-
By amoroso@forex.co.ke in forum Adapter SDKs
Replies: 3
Last Post: February 1st, 2010, 11:01 AM
-
By khalil78 in forum Adapter SDKs
Replies: 2
Last Post: April 22nd, 2008, 11:46 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 08:10 PM.
Bookmarks