Re: [Virtuoso-users] PreparedStatement usage with Construct queries

2011-02-25 Thread Timo Westkämper
Hello Ivan. Thanks for the suggestion. That fixed the query. I was so confused by the error message that I didn't check the query properly ;) Br, Timo Westkämper On 02/24/2011 09:43 PM, Ivan Mikhailov wrote: Hello Timo, I'm not an JDBC maintainer, but inequality "1http://virtuoso.openlinks

Re: [Virtuoso-users] PreparedStatement usage with Construct queries

2011-02-24 Thread Ivan Mikhailov
Hello Timo, I'm not an JDBC maintainer, but inequality "1http://virtuoso.openlinksw.com On Thu, 2011-02-24 at 19:32 +0200, Timo Westkämper wrote: > Hi. > > I am having troubles using CONSTRUCT queries with PreparedStatements. > > e.g. > > sparql define output:format '_JAVA_' > CONSTRUCT { ?s

[Virtuoso-users] PreparedStatement usage with Construct queries

2011-02-24 Thread Timo Westkämper
Hi. I am having troubles using CONSTRUCT queries with PreparedStatements. e.g. sparql define output:format '_JAVA_' CONSTRUCT { ?s ?p ?o } WHERE { `iri(??)` ?p ?o } LIMIT 1 throws Caused by: virtuoso.jdbc4.VirtuosoException: Index 1 is not 1