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

Andy Seaborne resolved JENA-310.
--------------------------------

       Resolution: Fixed
    Fix Version/s: TDB 0.9.4
         Assignee: Andy Seaborne

Fixed in SVN

(fix is to do the same as the other create operation)
                
> 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

Reply via email to