[orientdb] OrientDB Driver

2014-07-31 Thread Stefano Pedroni
Hi! I'm trying to use OrientDB with Knime, an open source tool for data mining. This tool allows connection to database through a jdbc driver (https://tech.knime.org/database-documentation). I'm trying to find the jar file for this Driver, but I can't find anything like that on the new installati

Re: [orientdb] how to manage 1-N relation.

2014-05-20 Thread Stefano Pedroni
difference = (end_time - start_time)/1e6; writer.println(difference); System.out.println("test "+q+": "+difference); } writer.close(); } finally { db.close(); } } } Il giorno lunedì 19 maggio 2014 21:11:59 UTC+2, Riccardo Tasso ha scritto: > > > 2014-05-16 14:23 GMT+02:00 St

Re: [orientdb] Avoiding removal of duplicates in TRAVERSE

2014-05-19 Thread Stefano Pedroni
onal will traverse backward, so > even in simple situation like > > A > B > > you'd get an infinite loop with query TRAVERSE * FROM... > > What is your usecase? probably we could find an appropriate solution. > > Best regards, > Artem Orobets > >

[orientdb] Avoiding removal of duplicates in TRAVERSE

2014-05-19 Thread Stefano Pedroni
Hi! Is it possible to show the "already visited" documents in TRAVERSE? I have two class, the first linked to the second. Some documents of the first class might be linked to the same element in the second. I would like to get those elements back also when they're visited the following the first

Re: [orientdb] how to manage 1-N relation.

2014-05-19 Thread Stefano Pedroni
properly setted? Il giorno lunedì 19 maggio 2014 12:38:13 UTC+2, Stefano Pedroni ha scritto: > > up > > Il giorno venerdì 16 maggio 2014 14:23:21 UTC+2, Stefano Pedroni ha > scritto: >> >> Thank you again, now I'm starting to get the point. >> Just another ques

Re: [orientdb] how to manage 1-N relation.

2014-05-19 Thread Stefano Pedroni
up Il giorno venerdì 16 maggio 2014 14:23:21 UTC+2, Stefano Pedroni ha scritto: > > Thank you again, now I'm starting to get the point. > Just another question. > Suppose that I want to extend this reasoning to a deeper level (e.g. 3 > classes linked together in this way: 0

Re: [orientdb] how to manage 1-N relation.

2014-05-16 Thread Stefano Pedroni
on all the link of each class or a smarter way is available? Il giorno venerdì 16 maggio 2014 13:24:22 UTC+2, Riccardo Tasso ha scritto: > > > 2014-05-16 11:51 GMT+02:00 Stefano Pedroni > >: > >> I'm trying to simulate a "join", so from "select *&

Re: [orientdb] how to manage 1-N relation.

2014-05-16 Thread Stefano Pedroni
: > > linkTab1.integer1 is a collection, try with: > select * from tab0 where 12 in linkTab1.integer1 > > > Cheers, > Riccardo > > 2014-05-15 17:35 GMT+02:00 Stefano Pedroni > >: > >> Hi! >> I'm trying to work with relations on OrientDb. >> I cr

[orientdb] how to manage 1-N relation.

2014-05-15 Thread Stefano Pedroni
Hi! I'm trying to work with relations on OrientDb. I create 2 classes. The first has a linkset property to the second. I populated those two classes with random numbers, then I linked the documents of the first class (with the same value on "integer*" property) to the documents of the second. Tha