[
https://issues.apache.org/jira/browse/JENA-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056087#comment-17056087
]
Adam Soroka commented on JENA-1857:
-----------------------------------
The actual data structures are each a bunch of nested maps, as you may
remember, so really, this info should be available from the indexes and the
method should be overridden at {{DatasetGraphInMemory}}. I don't know why I
didn't. I will get on this in the next few days, if that works for you.
> DatasetGraphInMemory.listGraphNodes causes exception outside a transaction
> --------------------------------------------------------------------------
>
> Key: JENA-1857
> URL: https://issues.apache.org/jira/browse/JENA-1857
> Project: Apache Jena
> Issue Type: Task
> Components: TIM
> Affects Versions: Jena 3.14.0
> Reporter: Andy Seaborne
> Priority: Major
>
> Test case:
> {code:java}
> public static void main(String ... a) {
> DatasetGraph dsg = DatasetGraphFactory.createTxnMem();
> Quad q = SSE.parseQuad("(:g :s :p :o)");
> dsg.add(q);
> try {
> System.out.println(dsg.size());
> } catch (Exception ex) {
> ex.printStackTrace();
> }
> }
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)