Re: [orientdb] Can not get sub-query with variable to work. Some help would be great!

2015-02-24 Thread Julian Liebl
Thank you very much for the quick reply. I thought it would be enough to keep links. But even if I would make two links to make it bi-directional (which slows the import down) I would have to use 2 indexes to reach my goal. You are right. Thank you very much! Z new database model here I com

[orientdb] in and out

2015-02-24 Thread Dlpnet
Hello I have a simple DB: users -- Owns --> items when I do: select in_Owns.out.userID from items I get the userIDs ["123"] ["133"] ["456"] but if I want to do the opposite: select from items where in_Owns.out.userID = "123" I m not receiving any data. It looks like the [] is the part I m mis

[orientdb] error on export

2015-02-24 Thread Dlpnet
Hello I m trying to export the schema of my database to set up a new instance from scratch and I get an error: export database schema.gz -excludeAll -includeSchema Exporting current database to: database shema.gz -excludeAll -includeSchema in GZipped JSON format ... Error: java.lang.IndexOutOfBo

Re: [orientdb] Too slow query speed

2015-02-24 Thread Shivanandan Gupta
Hi All, I have written thhe Async select program please see the attached .java file , but when I run the program I am getting below given error , the program is not able to open the database, I can use the Oriendb browser and can access the db from there but from program I am getting below give

Re: [orientdb] Re: Inserting into an embedded list [SOLVED]

2015-02-24 Thread Наталь Капля
Hi, Luca! What if I'm making chat, and I dont want for every message had overhead by: ""@type": "document", "@version": 0,". Messages are not intended to change. I Could add into the list before this way: update XXX add msg = {"":{"Text":"text here", "ID":1}} and everything was perfect. I have s

[orientdb] Re: copy records in another class

2015-02-24 Thread Máté Gábri
Leaving the parenthesis the command works. :) On Monday, February 23, 2015 at 2:42:07 PM UTC+1, Máté Gábri wrote: > > Hi, > > following the documentation I'm trying to copy a Vertex to another Class > but I'm getting the following error: > > > Cannot find a command executor for the command requ

[orientdb] JCA resource adatpter - Class cast exception?

2015-02-24 Thread Gary Udstrand
I am trying to get orientdb working using the JCA resource adapter and have run into a class cast issue and I am not sure how to proceed. I am using OrientDB2.0.3 and orient-rar-0.3.0.rar (I have also pulled the latest source and built 0.4.0-SNAPSHOT but i get the same error). If I add an ent

[orientdb] ElasticSearch synchronization with OrientDB

2015-02-24 Thread Michalis Michaelidis
CrossPost from ElasticSearch discussion: https://groups.google.com/forum/#!topic/elasticsearch/MvV0qGoUxD4 I would like to do some brainstorming about which one is the right approach to achieve ElasticSearch synchronization with OrientDB. Please have a look at my post above. Thanks, Michail -

Re: [orientdb] Can not get sub-query with variable to work. Some help would be great!

2015-02-24 Thread Luigi Dell'Aquila
Ah, of course you could use the link in your query and do something like select from FOrder where user.userId = "642255" but it's less efficient than the one with the graph (because with an edge you can have bi-directional traversal, and this lets you better exploit indexes on userId) 2015-02-2

Re: [orientdb] Can not get sub-query with variable to work. Some help would be great!

2015-02-24 Thread Luigi Dell'Aquila
Hi Julian, first of all let's make your query work, this is the right one: select from FOrder where user IN (select @rid from FUser where userId = "642255") Please note that I used IN operator instead of = because a query returns a result set, that is a collection. But all this is just for the

[orientdb] Deadlock while creating a new database with OServerAdmin

2015-02-24 Thread Ivan Jovanovic
Hello * from newbie to OrientDB, I am developing an application in Java that needs to connect to an OrientDB database (remote database) and store some data there, for which I have installed OrientDB Community 2.0.3. When the application starts, it first checks whether the database is already t

Re: [orientdb] Re: Elasticsearch river for Orientdb similar to Neo4J ES river

2015-02-24 Thread Michalis Michaelidis
Hi Artem, Could you elaborate a bit more on the hooks API of OrientDB and why it would be different than pooling if someone wrote a river plugin for it? Thanks, Michail Τη Τρίτη, 10 Ιουνίου 2014 - 11:11:58 π.μ. UTC-4, ο χρήστης Artem Orobets έγραψε: > > Cool! > > OrientDB allow to do that in

[orientdb] Can not get sub-query with variable to work. Some help would be great!

2015-02-24 Thread Julian Liebl
Hi, I am new to orientdb. Working with it since 2 weeks and it feels just great. However there a few things I still need to learn and I can't find a sample or an explanation which solves my problem. I have searched a lot (4 hours + now). *Here is a break down of the two querys I execute. My go

Re: [orientdb] [OProfiler]java.lang.OutOfMemoryError: GC overhead limit exceeded

2015-02-24 Thread Shivanandan Gupta
Hi Andrey, I tried Asynchronous select query using java but while connecting to the db it throwing exception given below, I am attaching the code which I used. C:\Program Files\Java\jdk1.8.0_31\bin>java Async_query Feb 24, 2015 12:20:19 PM com.orientechnologies.common.log.OLogManager log INFO: O

Re: [orientdb] Going from Hibernate to OrientDb, have several questions

2015-02-24 Thread Vitor Enes Duarte
Hi, It's possible to work with detached objects using frames? segunda-feira, 23 de Fevereiro de 2015 às 14:48:58 UTC, Luigi Dell'Aquila escreveu: > > Hi Kamen, > > did you check TinkerPop frames? https://github.com/tinkerpop/frames/wiki > I think it's what you are looking for > > Regards > > Lu

Re: [orientdb] Record deadlock issue in 2.0.2

2015-02-24 Thread Kareem Jabr
Full thread dump OpenJDK 64-Bit Server VM (24.65-b04 mixed mode): "OrientDB WAL Flush Task (sport)" daemon prio=10 tid=0x7f3fa8246000 nid=0x77f2 waiting on condition [0x7f3feadea000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking t

[orientdb] unexpected: ODatabaseException: Database is closed

2015-02-24 Thread Riccardo Tasso
Hi, I am migrating my application to Orient 2.0.3, from 1.7.10. I have a UnitTest which throws an Exception, and I can't figure out why. Here is the stacktrace: Running it.celi.cbook.temp.OrientCloseDatabaseTest feb 24, 2015 11:36:36 AM com.orientechnologies.common.log.OLogManager log INFORMAZI

[orientdb] Can i connect to OrientDB database with Pentaho Data Integration?

2015-02-24 Thread Gurpreet Singh
I am new to OrientDB, i have a query weather i can connect to OrientDB database using PDI. If it is possible using jar file can anyone provide me the connection string. Thanks -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe f

Re: [orientdb] Problem with orientdb jdbc driver?

2015-02-24 Thread Luigi Dell'Aquila
Hi, I think the problem is in the connection port. Could you try to use 2424 (binary protocol) instead of 2480? Thanks Luigi 2015-02-23 21:01 GMT+01:00 AW Tahhan : > I'm trying to use the jdbc driver, I'm using netbeans as my IDE and the > following is the Jar and configurations I used: > > >