Got it  

g.V('@class','Person').toList() Did it.. Class name was case sensitive and 
hence the issue

On Monday, January 27, 2014 9:47:19 AM UTC-5, Diego Martelli wrote:
>
> Hi all,
> I'm trying to call a Gremlin command with some parameter, but I have no 
> idea how to indacate parameter in query and how pass parameters to the 
> executor. 
>
>
> This is what I do, but I have
>
> "java.lang.Integer cannot be cast to java.lang.String"
>
> g.command(new OCommandGremlin("g.V('@class', ?).count()")).execute("Person");
>
>
> Could a anyone help me with an example or a link? 
>
> I'm working on a 1.6.2
>
>
> Diego
>
>

-- 

--- 
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