Re: [orientdb] Re: Save Vertex with specified class name and cluster

2014-01-31 Thread Luca Garulli
Seems that you didn't declare the cluster where you add Name instances as part of Name class. Please connect with the console and post here the result of this command: orientdb info class Name Lvc@ On 31 January 2014 01:20, Andrey Yesyev andrey.yes...@gmail.com wrote: Please, have a look

[orientdb] Having problems with syntax while updating embeddedMaps

2014-01-31 Thread Konrad Lötzsch
Hi, I am trying to update an embedded Map field in my class. We are sending are query like this: update testClass set mapField = {testKey:bla bla (2, (bla 16)]} where Id = 'testId' where mapField is an Embedded Map and Id ist a String field. We get an OCommandWQLParsingException: Error on

Re: [orientdb] Having problems with syntax while updating embeddedMaps

2014-01-31 Thread Luca Garulli
Hi Konrad, have you tried with last version? Lvc@ On 31 January 2014 09:33, Konrad Lötzsch konrad.loetz...@gmail.com wrote: Hi, I am trying to update an embedded Map field in my class. We are sending are query like this: update testClass set mapField = {testKey:bla bla (2, (bla 16)]}

Re: [orientdb] Re: OrientDB 1.7 - OGraphDatabase will be removed. What ?!?!

2014-01-31 Thread Andrey Lomakin
Hi, Connection pool can be used from document database. Create document database and pass it in OrientGraph it is a bit inconvenient but we did benchmark of import of wikipedia data structure it is 10-15 times faster on some data sets. On Thu, Jan 30, 2014 at 10:59 PM, Riccardo Tasso

Re: [orientdb] Re: Save Vertex with specified class name and cluster

2014-01-31 Thread Andrey Lomakin
Hi, If your cluster is absent in schema metadata query can not find it. You did not add cluster in list of clusters for given class so query can not find it. On Thu, Jan 30, 2014 at 10:50 PM, Andrey Yesyev andrey.yes...@gmail.comwrote: Ok, this is my fault, I added vertices to the wrong

Re: [orientdb] Re: OrientDB 1.7 - OGraphDatabase will be removed. What ?!?!

2014-01-31 Thread Luca Garulli
Hi, we've this issue about a new graph pool to avoid mixing API: https://github.com/orientechnologies/orientdb/issues/1971 This will be fixed at days. Lvc@ On 31 January 2014 09:37, Andrey Lomakin lomakin.and...@gmail.com wrote: Hi, Connection pool can be used from document database.

Re: [orientdb] SQL Graph queries not working in 1.6.4

2014-01-31 Thread Andrey Lomakin
Hi, Could you provide additional information in this issue https://github.com/orientechnologies/orientdb/issues/2004 On Mon, Jan 27, 2014 at 8:10 PM, Andrey Lomakin lomakin.and...@gmail.comwrote: Hi, I will fix it after tomorrow https://github.com/orientechnologies/orientdb/issues/2004 .

Re: [orientdb] Re: OrientDB 1.7 - OGraphDatabase will be removed. What ?!?!

2014-01-31 Thread Andrey Lomakin
Hi, Here is difference in implementations in tx mode, local + mvrbtree + unique index (old) and plocal + ridbag + unique index (new). On Fri, Jan 31, 2014 at 10:37 AM, Andrey Lomakin lomakin.and...@gmail.comwrote: Hi, Connection pool can be used from document database. Create document

Re: [orientdb] Re: OrientDB 1.7 - OGraphDatabase will be removed. What ?!?!

2014-01-31 Thread Andrey Lomakin
Couple of words about benchmark. We imported wikipedia data using OrientGraph database, to be sure that we have no duplications unique index by page key was created. First benchmark that is benchmark which uses 1.6.4 version of OrientDB and second benchmark uses version from

Re: [orientdb] Prepared Query Bug

2014-01-31 Thread bckfnn
Giraldo Rosales wrote: I can get it working if I try: params:{id:\6ce3ef04cb2cb750d4ce0d0f9648066f\} A bit strange, but the code at

Re: [orientdb] Re: Save Vertex with specified class name and cluster

2014-01-31 Thread Andrey Yesyev
Yes, I haven't added cluster in vertex class. Now I did and everything works as expected. But still, I would expect some warnings or errors from DB when I do something wrong with it. Thanks for your help! On Friday, January 31, 2014 3:41:25 AM UTC-5, Andrey Lomakin wrote: Hi, If your

Re: [orientdb] OrientDB and nameUUID (Version 3 UUIDs)

2014-01-31 Thread stefan
Yes, thank you. Let me encourage you though to add UUID field type support to some nice road-map somewhere :) The best thing for me though would be to have the transient field that does not get stored at all (only indexed) :). Regards, -Stefán On Friday, January 31, 2014 9:46:45 AM UTC,

Re: [orientdb] OrientDB and nameUUID (Version 3 UUIDs)

2014-01-31 Thread Andrey Lomakin
You can use manual indexes. Also you can create feature request the more users will vote for it the more chances that it will be implemented earlier. On Fri, Jan 31, 2014 at 6:37 PM, ste...@activitystream.com wrote: Yes, thank you. Let me encourage you though to add UUID field type support

Re: [orientdb] Non idempotent command with OrientDB JDBC Driver

2014-01-31 Thread Luca Garulli
Hi, the standard way to call an insert with JDBC is by using .executeUpdate() http://www.mkyong.com/jdbc/jdbc-preparestatement-example-insert-a-record/ Or just look for jdbc insert in Google. Lvc@ On 31 January 2014 17:29, ezzamiti@gmail.com wrote: *Hello,* *I'm facing an issue while

[orientdb] Re: Simplified Graph Factory and Pool management in OrientDB 1.7!

2014-01-31 Thread stefan
Hi, Can you elaborate more on can be configured to work as a pool, by recycling database instances? Perhaps an example of this pooled mode? And on how it should be treated for embedded mode when creating missing databases (if the database doesn't exist, it’s created automatically (but in

Re: [orientdb] Prepared Query Bug

2014-01-31 Thread Giraldo Rosales
Thanks Finn, for giving us a good place to start! Will have to play around with the code to see if there is a solution. On Friday, January 31, 2014 4:42:05 AM UTC-5, bck...@gmail.com wrote: Giraldo Rosales wrote: I can get it working if I try: