Hi Chuck,

Development do not quite agree with the change you made as this will then return data from all graphs in the Quad store, and thus would like more details on the problem you are encountering. Can you provide samples of some of the queries you are attempting to execute. Is your Quad store accessible externally such that we could access it ?

The Virtuoso JDBC Driver is a Type 4 "Pure" Java application and as such is not dependent on the underlying OS only that their is a JVM for the OS which can host it. So you use the same JDBC driver for all OS'es

Regards
Hugh Williams
OpenLink Software


On 13 May 2008, at 21:52, Chuck Borromeo wrote:

Hi Hugh,
I modified the VirtuosoQueryExecution.java file. That appears to remove the extra stuff being prepended to my query. Now my queries return data. I modified the second constructor to now read:

public VirtuosoQueryExecution (String query, VirtGraph graph)
{
  virt_graph = graph.getGraphName();
  //modified this line:
  virt_query = "sparql " + query;
  virt_url = graph.getGraphUrl();
  virt_pass = graph.getGraphPassword();
  virt_user = graph.getGraphUser();
}

Just to be clear, is there a 64 bit version of the JDBC drivers? Is there something else I need to change in my code?

Thanks,
Chuck

--- On Fri, 5/9/08, Hugh Williams <hwilli...@openlinksw.com> wrote:

From: Hugh Williams <hwilli...@openlinksw.com>
Subject: Re: [Virtuoso-users] No data returned 64 bit Mac running Leopard
To: cborrom...@yahoo.com
Cc: virtuoso-users@lists.sourceforge.net
Date: Friday, May 9, 2008, 8:58 PM
Hi Chuck,

We are currently working on major enhancements to the
Virtuoso Jena
and Sesame RDF Providers, thus I would recommend you wait
for the
availability of the updated Jena Provider and repeat your
test.
Hopefully this provider will be available by the end of
next week. I
shall notify you when we have a cut available for you to
test.

Best Regards
Hugh Williams
Professional Services
OpenLink Software

On 9 May 2008, at 17:06, Chuck Borromeo wrote:

Hello,
  We successfully built our Virtuoso Server using the
64-bit binaries
for Leopard (Mac OS X 10.5).  We re-imported all of
the data from our
old system into the 64-bit version.  We are using JDBC
drivers to
connect our web application to the Virtuoso Server.
Here is our
environment:

Mac OS X 10.5
Jena 2.5.4
Virtuoso OpenSource 5.0.6

Previously, we were using Virtuoso OpenSource 5.0.1.
We can run
our old
queries using the 64-bit SPARQL endpoint.  Therefore,
the data is
in the
64-bit Virtuoso Server.  However, running the same
queries through our
JDBC connection does not return any data.   Here is a
snippet of
our code:

VirtGraph set = new VirtGraph
("jdbc:virtuoso://xxxxx:1112", "xxxxx",
"xxxxxxxxxx");
String queryText = "[our query]";
Query sparql = QueryFactory.create(queryText);
VirtuosoQueryExecution vqe =
VirtuosoQueryExecutionFactory.create
(sparql, set);
ResultSet results = vqe.execSelect();

Are there new versions of the JDBC drivers or Virtuoso
Jena drivers?
Are there different classes we should use?  We are
using the
virtjdbc3.jar file that was part of the 5.0.6
deployment file.  We
have
noticed the VirtuosoQueryExecution instance has an
attribute called
virt_query.  This attribute is prepending the
following text to the
beginning of our query:

sparql
 define input:default-graph-uri <virt:DEFAULT>

Could this be causing a problem?  These lines are not
part of the
original query.

Thanks,
Chuck




_____________________________________________________________________ _

______________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://
mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


--------------------------------------------------------------------- -

---
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference
Don't miss this year's exciting event.
There's still time to save
$100.
Use priority code J8TL2D2.

http://ad.doubleclick.net/clk;198757673;13503038;p?http://
java.sun.com/javaone
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/virtuoso-users




---------------------------------------------------------------------- ---
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Reply via email to