Re: [orientdb] java.lang.IllegalStateException: Missing closed string character: ''' with function

2014-11-24 Thread luca
Done! https://github.com/orientechnologies/orientdb/issues/3094 Il giorno lunedì 24 novembre 2014 18:52:05 UTC+1, Luigi Dell'Aquila ha scritto: > > Hi Luca, > > this is clearly a bug, could you please report it in OrientDB issue > tracker? > > https://github.com/orientechnologies/orientdb/issu

[orientdb] sql create cluster by the field range,

2014-11-24 Thread Python Rudy
I think orientdb cluster is very like mysql "partition", but why doesn't support sql create cluster by the field range, just like this? CREATE CLUSTER account PARTITION BY RANGE (year(c3)) (PARTITION p0 VALUES LESS THAN (1995), PARTITION p1 VALUES LESS THAN (1996) , PARTITION p2 VALUES LESS THA

[orientdb] Re: Studio does not work with embedded orientdb on Tomcat

2014-11-24 Thread Dave ALI
I neglected to mention in original post that the solution mentioned here https://groups.google.com/forum/#!searchin/orient-database/embedded/orient-database/-1VQp6-h1_w/raLGprMqayoJ which expands the plugin into the www directory allows the studio home page to open but then the following log me

[orientdb] Studio does not work with embedded orientdb on Tomcat

2014-11-24 Thread Dave ALI
I have an instance of orientDb 2.0-M3 running in a Tomcat 7.0.47 app - which works fine with Java API. I think I have configuration correct for http access. Log shows app listening 2014-11-24 18:08:18:303 INFO Listening http connections on 0.0.0.0:2480 (protocol v.10, socket=default) [OServe

Re: [orientdb] GridGain Vs. HazelCast.

2014-11-24 Thread Dmitriy Setrakyan
You can count on the GridGain team for support. Don't hesitate to ask any questions from the GridGain team on Stack Overflow or send them to me directly. On Monday, November 24, 2014 4:59:04 AM UTC-8, Kevin Daly wrote: > > This looks really good.. I'm not sure when I will have time to do anythin

[orientdb] [OrientDB 1.7.8] Help on Document-Field-Part query

2014-11-24 Thread Carlo Polisini
I am doing this kind of query following this documentation http://www.orientechnologies.com/docs/2.0/orientdb.wiki/Document-Field-Part.html Here is the data model I am using on a Document DB: *House *is a class holding a list of Apartment objects *Apartment *is a class holding a list of Room o

Re: [orientdb] java.lang.IllegalStateException: Missing closed string character: ''' with function

2014-11-24 Thread Luigi Dell'Aquila
Hi Luca, this is clearly a bug, could you please report it in OrientDB issue tracker? https://github.com/orientechnologies/orientdb/issues We will fix it ASAP thanks Luigi 2014-11-24 18:32 GMT+01:00 : > Hello, > I'm using OrientDB version : 2.0-M3. > > I created a test function which return

[orientdb] Tinkerpop 3

2014-11-24 Thread Heribert Hansen
Doest OrientDB support Tinkerpop 3 release? -- --- 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 orient-database+unsubscr...@googlegroups.com. For more options, vis

[orientdb] java.lang.IllegalStateException: Missing closed string character: ''' with function

2014-11-24 Thread luca
Hello, I'm using OrientDB version : 2.0-M3. I created a test function which return true and accepts a parameter Something like this: function test(data){ return true } It returns this error if I'm going to pass a string with double space in it as parameter! java.lang.IllegalStateException: Mis

Re: [orientdb] Another node with same key in UNIQUE_HASH_INDEX is saved after doing kill -9

2014-11-24 Thread Andrey Lomakin
Thank you for you time. On Mon, Nov 24, 2014 at 6:10 PM, Adithyan K wrote: > Created issue : https://github.com/orientechnologies/orientdb/issues/3092 > > Thanks > > On Monday, November 24, 2014 9:23:28 PM UTC+5:30, Andrey Lomakin wrote: >> >> Hi, >> >> Sorry for delay in my answers, could yo

Re: [orientdb] Another node with same key in UNIQUE_HASH_INDEX is saved after doing kill -9

2014-11-24 Thread Adithyan K
Created issue : https://github.com/orientechnologies/orientdb/issues/3092 Thanks On Monday, November 24, 2014 9:23:28 PM UTC+5:30, Andrey Lomakin wrote: > > Hi, > > Sorry for delay in my answers, could you create issue in github I will > take a look at this tomorrow, after tomorrow. > > On Mon,

Re: [orientdb] Another node with same key in UNIQUE_HASH_INDEX is saved after doing kill -9

2014-11-24 Thread Andrey Lomakin
Hi, Sorry for delay in my answers, could you create issue in github I will take a look at this tomorrow, after tomorrow. On Mon, Nov 24, 2014 at 4:40 PM, Adithyan K wrote: > Orient Version I Used : Orient 2.0-M3 > JDK : Oracle JDK 1.8.0_20 > OS : CentOS 7.0 > > > Pls find the attached Java fil

[orientdb] "Shallow collection" via SQL (or via PHP)

2014-11-24 Thread Mark Rogers
If I do SELECT FROM myClass in Studio it takes about 0.1sec to return 4 records with "Shallow Collection" selected, or much longer (minutes) otherwise. This is caused by one of the results having 195000 edges. If I run the same query from orientdb-odb (PHP libs) I get the slow version (~20

Re: [orientdb] 2.0-M3 Concerns

2014-11-24 Thread Andrey Lomakin
Hi Glenn, Here we are com.orientechnologies.orient.core.metadata.security.ORole#getStringRules . On Mon, Nov 24, 2014 at 3:57 PM, Andrey Lomakin wrote: > Also small additional note, if you have local cache disabled you can have > concurrency exception and other consistency problems on single th

[orientdb] Another node with same key in UNIQUE_HASH_INDEX is saved after doing kill -9

2014-11-24 Thread Adithyan K
Orient Version I Used : Orient 2.0-M3 JDK : Oracle JDK 1.8.0_20 OS : CentOS 7.0 Pls find the attached Java file to demonstrate this issue. Pls follow the below sequence *1. All working perfectly* a. Run the file with WRITE_MODE = true. It will create a database, create index and add a record b

Re: [orientdb] ETL (2.0-M3) NullPointerException when importing a RDBMS table

2014-11-24 Thread Ben Johnson
Thanks Luca, that fixed the NPE. Are you able to comment on my other question (Migrating from MS SQL Server to OrientDB) regarding if there is a way to import all the other tables (124 of them) without creating 124 JSON files? If not, I'll look at writing a custom ETL based on OETL. Cheers Be

Re: [orientdb] 2.0-M3 Concerns

2014-11-24 Thread Andrey Lomakin
Also small additional note, if you have local cache disabled you can have concurrency exception and other consistency problems on single thread. For example this test com.orientechnologies.orient.graph.blueprints.GraphTests#testGetEdgesUpdate does not pass if you disable local cache so we suggest n

Re: [orientdb] GridGain Vs. HazelCast.

2014-11-24 Thread Kevin Daly
This looks really good.. I'm not sure when I will have time to do anything with is, but being able to "plug" in different libraries would be a great thing. On Monday, November 24, 2014 7:38:01 AM UTC-5, Emrul Islam wrote: > > If the clustering solution is up for debate then please also consider

Re: [orientdb] GridGain Vs. HazelCast.

2014-11-24 Thread Emrul Islam
If the clustering solution is up for debate then please also consider the Apache 2.0 licensed Chronicle Queue and associated projects: http://openhft.net/products/chronicle-queue/ Designed for High Frequency Trading these queues have been designed to offer low GC overhead and low-latency in the

Re: [orientdb] 2.0-M3 Concerns

2014-11-24 Thread Andrey Lomakin
Hi, This method is already in public API and Map based uses Strings not enumerations as we do know. Map based method may be introduced for backward compatibility only and will be deprecated. On Mon, Nov 24, 2014 at 12:43 PM, Luca Garulli wrote: > Hi Andrey, > It's better to restore the old meth

Re: [orientdb] 2.0-M3 Concerns

2014-11-24 Thread Luca Garulli
Hi Andrey, It's better to restore the old method as Map ORole#getRules() and rename the new one as: Set ORole#getRuleSet() So in this way compatibility is assured. Lvc@ On 24 November 2014 at 11:19, Andrey Lomakin wrote: > Hi Glenn, > > About ORole method it is my fault, I will fix it by p

Re: [orientdb] 2.0-M3 Concerns

2014-11-24 Thread Andrey Lomakin
Hi Glenn, About ORole method it is my fault, I will fix it by providing ORole#getStringRoules whiсh will reproduce behavior of old method. About CACHE_LOCAL_ENABLED it is thread cache if you have your own pool implementation you should clear cache before release. But I do suggest you to use new c

[orientdb] Re: Problems using subclasses of ORestricted

2014-11-24 Thread Stefan Baust
I just found a solution: It works as expected when I reload the parent before setting the children parent.save() parent.reload() parent.field("children", children) But i still assume its a bug, is it? It should not be mandatory to reload the Parent. Am Freitag, 21. November 2014 17:46:51 UT

Re: [orientdb] Re: Saved Vertex not visible in current thread for Edge addition in remote storage. But works in plocal

2014-11-24 Thread Adithyan K
The behavior is same in OrientDB-2.0-M3. i.e., Saved Vertex not visible in current thread for Edge addition in remote storage. But works in plocal On Thursday, November 6, 2014 10:18:26 PM UTC+5:30, Lvc@ wrote: > > Hi, > OrientDB 2.0 is still not final, but you can get last SNAPSHOT from this

Re: [orientdb] ODatabaseDocumentTx.getMetadata() throws Exception "Database 'remote:localhost/rcainv' is closed"

2014-11-24 Thread Adithyan K
Thanks for your help. After I used base.open(DB_U, DB_P) call before calling base.getMetadata(), it worked. Reg, K Adithyan On Monday, November 24, 2014 1:43:41 PM UTC+5:30, Lvc@ wrote: > > Hi, > The exception is: > > com.orientechnologies.orient.core.exception.ODatabaseException: Database >

Re: [orientdb] ODatabaseDocumentTx.getMetadata() throws Exception "Database 'remote:localhost/rcainv' is closed"

2014-11-24 Thread Luca Garulli
Hi, The exception is: com.orientechnologies.orient.core.exception.ODatabaseException: Database 'remote:localhost/rcainv' is closed That means: In order to access to the metadata you have to open the database. Lvc@ On 24 November 2014 at 09:09, Adithyan K wrote: > Hi, > > When my application

[orientdb] ODatabaseDocumentTx.getMetadata() throws Exception "Database 'remote:localhost/rcainv' is closed"

2014-11-24 Thread Adithyan K
Hi, When my application starts, a check is performed for database existence. If database does not exist, it is created. Then, I am creating a user in the DB and creating all the datatypes. While creating user, in the below highlighted line (*base.getMetadata() : *code given below the Exception

Re: [orientdb] ETL (2.0-M3) NullPointerException when importing a RDBMS table

2014-11-24 Thread Luca Garulli
Hi Ben, Try setting: dbType: "graph", in Loader config. Lvc@ On 22 November 2014 at 14:23, Ben Johnson wrote: > Hello again > > I have just tried importing a table from a MS SQL Server database into > OrientDB using the ETL and I am getting the following error: > > Error in Pipeline