[
https://issues.apache.org/jira/browse/JENA-310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Laurent Pellegrino updated JENA-310:
------------------------------------
Description:
When Algebra#exec is used within 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
was:
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
Summary: Algebra#exec cannot be used within a transaction (was:
Algebra#exec cannot be used inside a transaction)
> Algebra#exec cannot be used within 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 within 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