You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2012/08/31 19:37:07 UTC

[jira] [Closed] (JENA-310) Algebra#exec cannot be used within a transaction

     [ https://issues.apache.org/jira/browse/JENA-310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne closed JENA-310.
------------------------------

    
> 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
>            Assignee: Andy Seaborne
>              Labels: classcastexception
>             Fix For: TDB 0.9.4
>
>         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