You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Laurent Pellegrino (JIRA)" <ji...@apache.org> on 2012/08/31 16:14:07 UTC
[jira] [Updated] (JENA-310) Algebra#exec cannot be used inside a
transaction
[ https://issues.apache.org/jira/browse/JENA-310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laurent Pellegrino updated JENA-310:
------------------------------------
Attachment: TestDatasetReadTransactionWithAlgebraExecution.java
Please find enclosed a simple test case.
> Algebra#exec cannot be used inside a transaction
> ------------------------------------------------
>
> Key: JENA-310
> URL: https://issues.apache.org/jira/browse/JENA-310
> Project: Apache Jena
> Issue Type: Bug
> Components: TDB
> Affects Versions: TDB 0.9.4
> Reporter: Laurent Pellegrino
> Labels: classcastexception
> Attachments: TestDatasetReadTransactionWithAlgebraExecution.java
>
>
> When Algebra#exec is used inside a transaction I get:
> Exception in thread "main" java.lang.ClassCastException: com.hp.hpl.jena.tdb.transaction.DatasetGraphTransaction cannot be cast to com.hp.hpl.jena.tdb.store.DatasetGraphTDB
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira