[JAVAXJDO-5] Support AutoCloseable