I became a hint to put in the code a finally statement with a 'connection.close' before the first catch statement appears. I don't see any ways to implement that, could you please give me a short hint how I could handle that?! Many thanks!
Hint is just a hint. You should close connections you created. However, you didn't create it in this method and you might want to use it again later so I suspect it would be a bad idea to close it here.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.