Re: [orientdb] Validation errors in download form

2014-04-18 Thread efege
> don't use special characters like ' / , etc. > > Lvc@ > Hi, I forgot to mention that there were no special characters at all: just enter my name, "Fernando", in the Name field, and the message "Please Enter a Valid Name" appears next to that field. I finally downloaded 1.7-rc2 by changing

[orientdb] OrientDB Studio 1.7RC2 Issue Custom DateTime Format -> Invalid Date

2014-04-18 Thread kleingeldhorter
Hi, I'd like to report that currently OrientDB Studio's Datepicker can't handle and can't display custom datetime formats like "dd.MM. HH:mm:ss:SSS". The English format seems to be hardcoded in the web-gui. Though the date is displayed correctly in the studio's query results (because it's a

[orientdb] Re: stupid graph display question

2014-04-18 Thread Eric Carley
specifically this page makes no sense to me ... I am a .net programmer, not a java programmer https://github.com/orientechnologies/orientdb/wiki/Graph-Database-Tinkerpop and this reference is to what ...??? What classpath? orient-commons-*.jar orientdb-core-*.jar blueprints-core-*.jar blueprints

[orientdb] stupid graph display question

2014-04-18 Thread Eric Carley
I do not have any option for displaying the graph on my browser pages. I am assuming that this is due to Blueprints not installed correctly?, so can someone send me a link that actually shows how to do this in Windows? The current links https://github.com/tinkerpop/blueprints/wiki/OrientDB-Imp

[orientdb] 1.7-SNAPSHOT build failing today

2014-04-18 Thread odbuser
The snapshot build is failing today. Normally, I'd just wait but I'm afraid I won't get a good build to work with over the weekend. git pull Already up-to-date. ant clean installg compile: [javac] Compiling 89 source files to /1.7-SNAPSHOT/src/graphdb/target/classes [javac] warnin

[orientdb] create edge to super node, performance degradation under multi threads

2014-04-18 Thread Pawel K.
Hi all, Let me share results of my experiment. I wanted to add thousands of edges to one vertex using multiple threads. I used for that scenario following sql batch. begin let var1 = INSERT INTO Actor CONTENT {Age:0,FirstName:"Kristen549",LastName:"Stewart693",Salary:0} let var2 = CREAT

Re: [orientdb] FETCHPLAN in SELECT command not working

2014-04-18 Thread Gaurav Dhiman
Thanks Artem, your suggestion worked. @Lvc, I can not move to latest version as I am developing on v1.7rc-1. I will try it later. Best Regards, Gaurav On Fri, Apr 18, 2014 at 7:08 PM, Artem Orobets wrote: > Hi Gaurav, > > Try following as a workaround: > response.writeRecords(java.util.Array

Re: [orientdb] why ODocument requires db connection

2014-04-18 Thread Ted Smith
Thanks. Perhaps an flag in a different new constructor could be used to defer setClass until the time odoc is saved? like doc = ODocument("myClass", lazySetClassFlagBoolean) On Friday, April 18, 2014 9:54:53 AM UTC-4, Lvc@ wrote: > > Hi Ted, > setting the class brings OrientDB to inspect the d

Re: [orientdb] why ODocument requires db connection

2014-04-18 Thread Ted Smith
Also, how detach works for this scenario, does detach keep class schema and use it if saved later? it could be out of sync this way. So perhaps it is always better to get class meta info at the time of saving instead of early setting. On Friday, April 18, 2014 9:54:53 AM UTC-4, Lvc@ wrote: > >

Re: [orientdb] Re: Remove embeddedset item by reference?

2014-04-18 Thread Jonathan Rosen
I asked Luca a question about this that he didn't respond to. I didn't create the issue because we never clarified how this needs to be fixed. On Fri, Apr 18, 2014 at 7:32 AM, Red-0ne wrote: > I can't find the issue about this problem and it doesn't seem to be > resolved. Any update on that ? >

[orientdb] Re: Problems and Exceptions with Distributed DB Configuration

2014-04-18 Thread OK
Hi, finally it works with 1.7 RC2. I've manually set the ORIENTDB_HOME inside the dserver.bat (set ORIENTDB_HOME=C:/...) Is there another way to set it to the current dir? I've read sth about setting it with "java -DORIENTDB_HOME=." but that didn't work for me. Now I've got some new proble

[orientdb] Re: Remove embeddedset item by reference?

2014-04-18 Thread Red-0ne
I can't find the issue about this problem and it doesn't seem to be resolved. Any update on that ? On Monday, March 24, 2014 10:33:56 PM UTC+1, Jonathan Rosen wrote: > > let's say i have an embedded set field "people" in record #5:12: > > ["bob", "jon"] > > this doesnt seem to work: > update #5:1

[orientdb] Create edge after import from rdbms

2014-04-18 Thread Gianpaolo Altamura
Hi all, I'm trying to create edges between two entities imported from RDBMS. I'm following this tutorial: https://github.com/orientechnologies/orientdb/wiki/Import-RDBMS-to-Graph-Model But this command: CREATE EDGE e FROM comment JOIN post ON postId = id INVERSE doesn't work. I receive this e

Re: [orientdb] Re: what's the correct way to use the result of distance() in a where clause ?

2014-04-18 Thread Luca Garulli
Hi, By default is in KM. In 1.7 snapshot ( https://github.com/orientechnologies/orientdb/issues/2252) now we support the UNIT as last optional parameter: - *km*, kilometers, the default - *mi* as miles - *nmi* as nautical miles Lvc@ On 18 April 2014 00:04, André Mafra wrote: > Here:

Re: [orientdb] FETCHPLAN in SELECT command not working

2014-04-18 Thread Luca Garulli
Hi guys, I've changed the API to get just an Object. Internally we get the right way to browse collections, arrays, and single objects. So Gaurav please try with last snapshot. Lvc@ On 18 April 2014 15:38, Artem Orobets wrote: > Hi Gaurav, > > Try following as a workaround: > response.writeR

Re: [orientdb] Schema Driven Binary Serialization - draft spec

2014-04-18 Thread Luca Garulli
> > > Slightly different issue I think. I wasn't clear I was actually talking > versioning of individual class schemas rather than global schema version. > This is the part that allows to modify schema and (in some cases) avoid > having to scan/rewrite all records in the class. Although this is

Re: [orientdb] why ODocument requires db connection

2014-04-18 Thread Luca Garulli
Hi Ted, setting the class brings OrientDB to inspect the database's schema. I suggest you to build the ODocument without a class and then set it before to save it. Lvc@ On 18 April 2014 06:00, Ted Smith wrote: > Hi: > > I am surprised when I do the following simple one line > > public static

Re: [orientdb] index creation on Java

2014-04-18 Thread Luca Garulli
Or you could also do: db.getMetadata().getIndexManager().createIndex() Lvc@ On 18 April 2014 15:11, Riccardo Tasso wrote: > You should always be able to execute a script from Java: > > OCommandSQL iCommand = new OCommandSQL("CREATE INDEX ..."); > db.command(iCommand).execute(); > > Cheers, >

Re: [orientdb] FETCHPLAN in SELECT command not working

2014-04-18 Thread Artem Orobets
Hi Gaurav, Try following as a workaround: response.writeRecords(java.util.Arrays.asList(emps), "your fetch plan") Best regards, Artem Orobets * Orient Technologiesthe Company behind OrientDB* 2014-04-18 16:18 GMT+03:00 Artem Orobets : > Hi Gaurav, > > It seems it is a bug. The method expect y

Re: [orientdb] FETCHPLAN in SELECT command not working

2014-04-18 Thread Artem Orobets
Hi Gaurav, It seems it is a bug. The method expect you to pass a list of records to the method but the script passes an array. Best regards, Artem Orobets * Orient Technologiesthe Company behind OrientDB* 2014-04-18 15:50 GMT+03:00 Gaurav Dhiman : > @Lvc, > > Thanks for sharing the API, this

Re: [orientdb] index creation on Java

2014-04-18 Thread Riccardo Tasso
You should always be able to execute a script from Java: OCommandSQL iCommand = new OCommandSQL("CREATE INDEX ..."); db.command(iCommand).execute(); Cheers, Riccardo 2014-04-18 14:20 GMT+02:00 Mariusz Donigiewicz < mariusz.donigiew...@gmail.com>: > I'm dealing with Document DB, I see at htt

Re: [orientdb] index creation on Java

2014-04-18 Thread Mariusz Donigiewicz
I'm dealing with Document DB, I see at http://code.google.com/p/orient/wiki/DocumentDatabase#Execute_a_query no java code for index creation On Wednesday, September 14, 2011 2:34:36 PM UTC+2, Salvatore Piccione wrote: > > No problem, Yasin. > > Those commands are SQL commands (OrientDB supp

Re: [orientdb] FETCHPLAN in SELECT command not working

2014-04-18 Thread Gaurav Dhiman
@Lvc, Thanks for sharing the API, this was much needed, but when I use it in server side Javascript function, it throws below error: sun.org.mozilla.javascript.internal.EvaluatorException: Can't find method com.orientechnologies.orient.server.network.protocol.http.OHttpResponseWrapper.writeReco

[orientdb] why ODocument requires db connection

2014-04-18 Thread Ted Smith
Hi: I am surprised when I do the following simple one line public static main(...){ doc = new ODocument("MyClass") } it throws exception at setClass in ODocument class. stating need to set db connection in current thread. I would expect db connection (or any actual db related work) is not used