Hi Jake,
Did you add orientdb-graphdb.jar in your classpath?

Lvc@


On 17 April 2015 at 19:44, Jake <[email protected]> wrote:

> Colin,
>
> The database is being updated with vertices and edges according to 'info'.
> I'm able to use SELECT to search through my vertices just fine as well.
> It's just when I try to use the graph specific commands that I'm running
> into problems. I'm able to traverse the vertices as long as I don't use the
> 'out()' or 'in()' functions. I'm unable to use 'delete vertex' and I think
> I also tried to use 'create vertex' unsuccessfully. The server just seems
> to think that graph specific functions or commands don't exist. The
> database is created specifically as a graph database though.
>
> I'm using my embedded server the same way I'm using the bin/dserver.bat.
> The exact same code for creating the database/schema, inserting the
> vertices/edges, traversing the vertices and deleting the vertices was used
> on both servers. The bin/dserver.bat worked just fine, but the embedded
> server didn't know anything about graph specific functions or commands. As
> well I did use 'info' in the console to check to see if the schema,
> vertices and edges were being added to each of the servers. The schema and
> the vertices/edges were added to both servers without a problem (the java
> api was used for creating the schema, the vertices and the edges.) After
> that I started using SQL commands for traversing and deleting, which is
> where the graph specific SQL commands and functions come into play. Those
> commands worked only on the bin/dserver.bat server.
>
> Thanks for the reply,
>
> Jake
>
>
> On Monday, April 13, 2015 at 7:55:03 AM UTC-7, Colin wrote:
>>
>> Hi Jake,
>>
>> When running your embedded database and you connect to it via the
>> console, are you able to see all the created classes (using the classes
>> command)?
>>
>> What happens if you issue the command: info class <SomeClassName>?
>>
>> Do any basic queries work on your data?
>>
>> Thanks,
>>
>> -Colin
>>
>> Orient Technologies
>>
>> The Company behind OrientDB
>>
>>
>> On Friday, April 10, 2015 at 5:18:27 PM UTC-5, Jake wrote:
>>>
>>> Hello,
>>>
>>> The problem I'm running into is that my embedded server isn't supporting
>>> any graph related sql commands (e.g. "create vertex", "out('asdf')" and
>>> "in('adsf')".) Those commands are completely valid on the bin/dserver.bat
>>> that is included in the zip file that I downloaded from Orientdb's website (
>>> http://orientdb.com/download/.) Part of the configuration that is used
>>> for the embedded server is from Orientdb's Embedded Database wiki page and
>>> the other parts are from dserver.bat's configuration. For the most part
>>> they are the same (the same plugins are used and the relevant things seem
>>> to be the same.) Here is my embedded server's code:
>>>
>>  --
>
> ---
> 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.
>



-- 
Best Regards,

Luca Garulli
CEO at Orient Technologies LTD
the Company behind OrientDB
http://about.me/luca.garulli

-- 

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