I am aware that the try with resources
feature is available from Java 7 onwards, I was hoping the later versions of dropwizard hibernate would provide a Sessions object that implement the autocloseable
interface.
I wasnt able to see that in the javadocs for any version of dropwizard. Is there a way to figure out the version if it does spport?