openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chaos907 <>
Subject Re: Native SQL Query
Date Fri, 03 Jun 2011 17:35:21 GMT
Thanks for the reply. Yes you are right, we are using a distributed
environment (Slice) and we did find out that this only happens when we are
using slice.  Below is the method that is returning null for
ExpressionParser.  At this point in execution, language is "openJpa.SQL". 
There doesn't seem to be an ExpressionParser mapped to this language. 

    public StoreQuery newQuery(String language) {
        ExpressionParser parser =
        DistributedStoreQuery ret = new DistributedStoreQuery(this, parser);
        for (SliceStoreManager slice : _slices) {
        return ret;

Is this a bug or is native queries not going to be supported in a sliced

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message