correct way to release a connection #1536
Unanswered
naveen1337
asked this question in
Q&A
Replies: 1 comment
-
Is there any reason why |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In my code I release a connection on finally in try catch block, but if there are any error occurred in while get a connection, the finally section gives an error because the release function will not be there, I can fix that by checking is the connection variable it not null before calling release function. Is there any good way to do that ?
Beta Was this translation helpful? Give feedback.
All reactions