Jump to content

Question

8 answers to this question

Recommended Posts

  • 0
Posted (edited)

This stuff is handled by a Java 7 feature, named "try with ressources" . Read others db connections on the project to see how it must be written. Advantages are it lowers the amount of code and there's no need to manually close stuff anymore.

 

http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html

 

Sorry for the non greek post, I fix it : kalimera malaka.

Edited by Tryskell
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..