Hi Hugh,
I have tried with the latest jdbc driver from the link you had sent. Still
the same error:

com.hp.hpl.jena.shared.JenaException: Convert results are
FAILED.:virtuoso.jdbc3.VirtuosoException: Bad column number : 2 not in 1<n<1
        at virtuoso.jena.driver.VirtuosoQueryExecution.execConstruct(Unknown
Source)
        at virtuoso.jena.driver.VirtuosoQueryExecution.execConstruct(Unknown
Source)


thanks
Dhaval

On Fri, Sep 18, 2009 at 2:31 PM, Hugh Williams <hwilli...@openlinksw.com>wrote:

> Hi Dhaval,
>
> What is the version number of the Virtuoso JDBC Driver being used ( java
> virtuoso.jdbc3.Driver) ? Can you please re-try with the latest cut available
> from:
>
>        ftp://download.openlinksw.com/support/vos/virtjdbc3.jar
>
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software
> Web: http://www.openlinksw.com
> Support: http://support.openlinksw.com
> Forums: http://boards.openlinksw.com/support
>
>
>
>
> On 18 Sep 2009, at 10:27, Dhaval Thakker wrote:
>
>  Hi,
>>
>> I have a program to run the construct queries from API ( snippet below).
>> For complex queries, while executed it complains with the following:
>>
>> Convert results are FAILED.:virtuoso.jdbc3.VirtuosoException: Bad column
>> number : 2 not in 1<n<1
>>
>> It is occuring at line no 4 of the following..
>>
>> 1. VirtGraph set = new VirtGraph (url, "dba", "dba");
>> 2. VirtuosoQueryExecution vqe = VirtuosoQueryExecutionFactory.create
>> (sparql, set);
>> 3. vqe = VirtuosoQueryExecutionFactory.create (sparql, set);
>> 4. Model model = vqe.execConstruct();
>>
>> I am assuming that the result of the construct query execution generates
>> certain type of data that is creating problem...anybody had similar
>> problem/error?
>>
>> thanks
>>
>> Dhaval
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9&#45;12, 2009. Register
>> now&#33;
>> http://p.sf.net/sfu/devconf_______________________________________________
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>>
>
>


-- 
Regards

Dhaval Thakker

Reply via email to