Hi,

More information, when I use JavaAPI with no any parameter, it returns the 
same result as OrientDb Console. I will use this solution as a workaround, 
so that the issue is not urgent to me, however I think that's a bug.

My Best,
Hung Tran

On Wednesday, August 6, 2014 9:57:04 PM UTC+7, Hung Tran wrote:
>
> Hi,
>
> Today, I am running into an issue, it took me a lot of time to go to 
> detail but I does not have an answer for this.
>
> In my application, I am trying to perform a query as following
>
> SELECT $a[0].count, $b[0].count LET $a = (SELECT count(1) FROM Contact 
> WHERE ((Score > 0) OR (Score = 0)) AND (OwnedBy = #14:1) AND Status=0), $b 
> = (SELECT count(1) FROM Contact WHERE ((Score > 0) OR (Score = 0)) AND 
> (OwnedBy = #14:1))
>
> JavaAPI always return an array of [0, 0] while Orient Console returns [3, 
> 9]
>
> http://prntscr.com/4a4t9k => It shows the OrientDB server returns 
> different results for same query
> http://prntscr.com/4a4u45 => It shows those queries are performed with 
> same value of parameters at Orient server
>
> Any help will be very appreciated!
>
> My Best,
> Hung Tran
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to