jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Munteanu <romb...@apache.org>
Subject Re: Getting InvalidItemStateException when invoking a simple SQL2 query
Date Tue, 02 Dec 2014 21:26:36 GMT
Hi,

On Tue, Dec 2, 2014 at 7:17 AM, Behrang Saeedzadeh <behrangsa@gmail.com> wrote:
>     final Query query = queryManager.createQuery("", Query.JCR_SQL2);

Is this the actual query invocation? You probably want something like

    final Query query = queryManager.createQuery(statement, Query.JCR_SQL2);

Robert

Mime
View raw message