Closed grechaw closed 9 years ago
From @kkanthet
adminClient = DatabaseClientFactory.newClient("localhost", restPort, dbName, "rest-admin", "x", Authentication.DIGEST); markLogicDatasetGraphAdmin = MarkLogicDatasetGraphFactory.createDatasetGraph(adminClient); Triple triple = new Triple(NodeFactory.createURI("s5"), NodeFactory.createURI("p5"), NodeFactory.createURI("o5")); g1.add(triple); Node n1 = NodeFactory.createURI("http://example.org/jenaAdd"); markLogicDatasetGraphAdmin.addGraph(n1, g1); markLogicDatasetGraphAdmin.close(); Graph graphClosed = markLogicDatasetGraphAdmin.getGraph(n1); System.out.println(graphClosed.toString());
returns Graph .
Expected:: should not be able to perform any CRUD after close() of dataset.
I've got a fix in for this one done locally
Verified that we cannot perform CRUD after close of dataset .
From @kkanthet
returns Graph .
Expected:: should not be able to perform any CRUD after close() of dataset.