Hi,
I get an "AbstractMethodError" exception when retrieving data from Virtuoso using the Virtuoso Sesame2 driver in connection with Sesame2.2.4 (and Elmo1.4). Here's some simple test code that throws the exception:

Repository repository = new VirtuosoRepository("jdbc:virtuoso:// localhost:1111","dba","dba");
ElmoModule module = new ElmoModule();
SesameManagerFactory factory = new SesameManagerFactory(module, repository);
SesameManager manager = factory.createElmoManager();

Iterable result = manager.findAll(MyConcept.class);
result.iterator(); //EXCEPTION HERE

Exception in thread "main" java.lang.AbstractMethodError: virtuoso.sesame2.driver.VirtuosoRepositoryConnection $1.setMaxQueryTime(I)V at org .openrdf .repository .contextaware .ContextAwareConnection.initQuery(ContextAwareConnection.java:624) at org .openrdf .repository .contextaware .ContextAwareConnection.prepareTupleQuery(ContextAwareConnection.java: 477) at org .openrdf .elmo .sesame.SesameTypeManager.evaluateTypeQuery(SesameTypeManager.java:39) at org .openrdf .elmo .sesame .SesameResourceManager.createRoleQuery(SesameResourceManager.java:154) at org.openrdf.elmo.sesame.SesameManager $1.iterator(SesameManager.java:538)

The above code works fine with other repositories (such as NativeStore, MySQL, MemoryStore). Is this a bug in the Virtuoso Sesame driver?

Thanks for any comments! Mirko



Reply via email to