Does Java have a using statement that can be used when opening a session in hibernate?
In C# it is something like:
using (var session = new Session()
ARM blocks, from project coin will be in Java 7. This is feature is intended to bring similar functionality to Java as the .Net using syntax.