On Mon, Apr 27, 2015 at 3:24 PM, <mreut...@apache.org> wrote: > + protected static NodeStore getNodeStore(Oak oak) throws Exception { > Field f = Oak.class.getDeclaredField("store"); > f.setAccessible(true); > return (NodeStore) f.get(oak); > }
I have also often struggled to get hold of underlying NodeStore from given Oak instance. May be we should expose it as part of API itself. After each Oak instance would always be back by NodeStore Chetan Mehrotra