[
https://issues.apache.org/jira/browse/JENA-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066850#comment-13066850
]
Andy Seaborne commented on JENA-81:
-----------------------------------
Possible fixes:
1/ Write a PrefixMapping implementation that is persistent storage friendly.
2/ When creating a graph object in TDB, flush all prefixes in the
PrefixMappingImpl cache.
(2) is a TDB-specific and has been applied to DatasetPrefixesTDB. However, it
is potential unnecessary work.
> Partial failure to see prefixes in persistent storage
> -----------------------------------------------------
>
> Key: JENA-81
> URL: https://issues.apache.org/jira/browse/JENA-81
> Project: Jena
> Issue Type: Bug
> Components: Jena, TDB
> Reporter: Andy Seaborne
> Attachments: Report_Prefixes.java
>
>
> PrefixMappingImpl only looks in its local data structures to service
> findMapping. findMapping is private.
> But calls to get() are used to cache prefixes from persistent store so a
> findmMappign call before touching a prefix wil casuse findMapping not to find
> it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira