Re: [orientdb] NullPointerException creating Edge

2014-10-17 Thread Bojan Vukotić
Currently looking how it works... I am wondering can it help me in this case: I will import rdbms to orient, I will use it for some time, add/delete vertices/edges and than I will receive task to do some advanced calculation on my data. In rdbms world I would have some complex queries with multi

Re: [orientdb] NullPointerException creating Edge

2014-10-17 Thread Luca Garulli
http://www.orientechnologies.com/docs/last/orientdb-etl.wiki/Import-from-DBMS.html On 17 October 2014 08:17, Luca Garulli wrote: > Hi guys, > the TRANSFORM was a proposal, so it's not supported by OrientDB yet. I > should remove it from docs now. > > Have you evaluated the usage of OrientDB ETL

Re: [orientdb] NullPointerException creating Edge

2014-10-17 Thread Luca Garulli
Hi guys, the TRANSFORM was a proposal, so it's not supported by OrientDB yet. I should remove it from docs now. Have you evaluated the usage of OrientDB ETL instead? Lvc@ On 17 October 2014 04:30, Bojan Vukotić wrote: > This works just for v_id = "wat". What if I want to connect all of them?

Re: [orientdb] NullPointerException creating Edge

2014-10-17 Thread Bojan Vukotić
This works just for v_id = "wat". What if I want to connect all of them? Take a look at migration guide at https://github.com/orientechnologies/orientdb/wiki/Import-RDBMS-to-Graph-Model I want to do exactly same thing (let's assume we have 1 milion of posts and each post has 4-5 comments). I tr

Re: [orientdb] NullPointerException creating Edge

2014-09-19 Thread jferreira
That does work, thank you! The error messages could be very much improved, I'd tried: create edge E from (select @rid from V where v_id = "wat") to (select @rid from V where id = "wat") before your post and got a cryptic ArrayIndexOutOfBounds: -2 error... On Friday, September 19, 2014 4:31:10

Re: [orientdb] NullPointerException creating Edge

2014-09-19 Thread Enrico Risa
Hi try this one create edge E from (select from V where v_id = "wat") to (select from V where id = "wat") 2014-09-19 16:52 GMT+02:00 : > On version 1.7.8 on linux. > > Reproduce: > >1. create vertex V set id="wat" >2. create vertex V set v_id="wat" >3. create edge E TRANSFORM V

[orientdb] NullPointerException creating Edge

2014-09-19 Thread jferreira
On version 1.7.8 on linux. Reproduce: 1. create vertex V set id="wat" 2. create vertex V set v_id="wat" 3. create edge E TRANSFORM V.v_id TO V.id INVERSE 4. Internal Server Error: java.lang.NullPointerException No other information is given by OrientDB. Create edge command as seen he