Re: [orientdb] Regarding Single Query To fetch out all the combination as a result

2017-04-20 Thread Chaitanya deep singh Jhala
t; > If you don't need all the patterns, but you only need single records that > are part of the result, you can try the following: > > > MATCH > {as:user} -Performs-> {as:process} -Uses-> > {class:Application, as:app, where:(applicationName = ?)} -RunsOn->

Re: [orientdb] Regarding Single Query To fetch out all the combination as a result

2017-04-19 Thread Chaitanya deep singh Jhala
art of the result, you can try the following: > > > MATCH > {as:user} -Performs-> {as:process} -Uses-> > {class:Application, as:app, where:(applicationName = ?)} -RunsOn-> > {class:Server, as:server, where:(osType = ?)} > RETURN $elements > > Thanks > > Lui

Re: [orientdb] Regarding Single Query To fetch out all the combination as a result

2017-04-18 Thread Chaitanya deep singh Jhala
l the details of Vertex attributes without mentioning attribute details. Example : In simple sql query we are writing Select * from User and we will get all the details of User. Hope you are understand what I am actually looking for. Thanks Chaitanya On Tuesday, April 18, 2017 at 5:42:31 PM UTC+5:30,

[orientdb] Regarding Single Query To fetch out all the combination as a result

2017-04-18 Thread Chaitanya deep singh Jhala
nd osType. It is possible in orientdb to fetch out all this details in a single query ?? Thanks & Regards Chaitanya -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails fro

[orientdb] How to merge multiple json files into one

2016-10-06 Thread Chaitanya deep singh Jhala
escription: application/json userId,userName 1,chaitanya 2,kalpana 3,bhakiya 4,sangeetha 5,vinoth 6,ramya 7,ram user.json Description: application/json

Re: [orientdb] Importing error

2015-09-18 Thread Chaitanya
Someone please help me. Thank you. On Thu, Sep 17, 2015 at 9:00 PM Chaitanya Reddy wrote: > Hi OrientDB Users > > Could anyone help me with the following error. > > I exported a database from one macbook and importing to another macbook. > > Importing database DATABASE

[orientdb] Importing error

2015-09-17 Thread Chaitanya Reddy
Hi OrientDB Users Could anyone help me with the following error. I exported a database from one macbook and importing to another macbook. Importing database DATABASE some_data -merge=true... Started import of database 'remote:localhost/some' from some_data.json... Importing database info...OK I

Re: [orientdb] ODocument.getIdentity() is returning temporary rid.

2015-07-30 Thread Chaitanya
Anyone to help. On Thu, Jul 30, 2015 at 11:22 PM Chaitanya Reddy wrote: > Hi OrientDB users > > I am new to OrientDB, I am liking it. I have used a select query on a > users table with a subset of user columns. I want to get the rid of the > document. So I used ODocument.getIde

[orientdb] Orientdb object api detach or detachAll takes a lot of time, why so?

2015-07-30 Thread Chaitanya Reddy
Please give some comments, so that, we can improve it. -- --- 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 o

[orientdb] ODocument.getIdentity() is returning temporary rid.

2015-07-30 Thread Chaitanya Reddy
advance. Regards Chaitanya -- --- 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, v

[orientdb] [Object Api] Problem with EMBEDDEDLIST

2015-06-22 Thread Chaitanya
Hi I have a pojos User, Contact and Address. User has 1. EMBEDDEDLIST of contacts and 2. EMBEDDEDLIST of addresses. When I get a User and detachAll, it is returning same object of EMBEDDEDLIST contacts for both contacts and addresses. Anyone help me, thanks in advance. Thank you Chaitanya

[orientdb] [Object Api] Best practice on OObjectDatabasePool

2015-06-21 Thread Chaitanya
"com..commons.model");* * oDb.getEntityManager().registerEntityClass(ORecordId.class);* * return oDb;* *}* Thank you Chaitanya -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails f

[orientdb] Is there any one who is using Jersey and OrientDb?

2015-06-20 Thread Chaitanya
Hi I am using Jersey + Grizzly server frameworks and OrientDb. How do you create and close the database connections? -- --- 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 ema

[orientdb] Object Api detach is throwing NullPointerException

2015-06-19 Thread Chaitanya
java.lang.NullPointerException at com.orientechnologies.orient.object.db.OObjectLazyList.convert(OObjectLazyList.java:412) at com.orientechnologies.orient.object.db.OObjectLazyList.convertAll(OObjectLazyList.java:365) at com.orientechnologies.orient.object.db.OObjectLazyList.detach(OObjectLazyList.

Re: [orientdb] Re: Any plans of improving ObjectDb

2015-06-17 Thread Chaitanya
nsdag 17 juni 2015 11:40:03 UTC+2 schreef Chaitanya Reddy: >> >> Thank you Wouter. >> >> Have you created any bug to imporve create(). >> >> Thank you >> Chaitanya >> >> On Wed, Jun 17, 2015 at 3:00 PM Wouter de Vaal wrote: >> > What I

Re: [orientdb] Re: Saving a POJO object into orientdb

2015-06-17 Thread Chaitanya
ve to make your own >> custom build of orient to use this: >> >> https://github.com/orientechnologies/orientdb/pull/4061 >> >> Op woensdag 17 juni 2015 11:43:30 UTC+2 schreef Chaitanya Reddy: >>> >>> Yes true. But detachAll is kind of coping everything.

Re: [orientdb] Re: Saving a POJO object into orientdb

2015-06-17 Thread Chaitanya
:32:18 UTC+6 пользователь Chaitanya Reddy > написал: >> >> Hey Thank you Xvik. >> >> I found it already, db.detach(Obj, true) also do the same thing. >> >> On Wed, Jun 17, 2015 at 10:55 AM xvik wrote: >> >>> That's because you are serializing

Re: [orientdb] Re: Any plans of improving ObjectDb

2015-06-17 Thread Chaitanya
Thank you Wouter. Have you created any bug to imporve create(). Thank you Chaitanya On Wed, Jun 17, 2015 at 3:00 PM Wouter de Vaal wrote: > What I have seen during some profiling sessions with Object API, is that > the main slowness comes from creating proxy instances and heavily

[orientdb] Re: IMPORTANT: Are you using the Object Database interface?

2015-06-17 Thread Chaitanya Reddy
+1 for keeping and improving it. On Saturday, July 5, 2014 at 7:14:39 PM UTC+5:30, Lvc@ wrote: > > Hi guys, > I see many issues against our Object Database interface. This is because > the main author, Luca Molino, has not time anymore to spend on it. > > Until we don't find a new contributors/co

Re: [orientdb] Re: Saving a POJO object into orientdb

2015-06-16 Thread Chaitanya
gt; But there is one tiny moment: this call will resolve entire object tree. > So if you have complex object mapping, detaching will load enitre object > tree (if you used fetch plan, detaching will load everything). > > вторник, 16 июня 2015 г., 20:03:13 UTC+6 пользователь Chaitanya Redd

Re: [orientdb] Re: Saving a POJO object into orientdb

2015-06-16 Thread Chaitanya
otate id field with @Id in your pojo > > @javax.persistence.Id > private String id > > Also, if you use optimistic locking transactions you will need to map > version: > > @javax.persistece.Version > private Long version > > Overall object api is very close to JPA:

Re: [orientdb] Question regarding RID

2015-06-16 Thread Chaitanya
Awesome, Thank you Luigi. Informative. On Tue, Jun 16, 2015 at 10:57 AM Luigi Dell'Aquila < luigi.dellaqu...@gmail.com> wrote: > Hi Chaitanya, > > RIDs are unique even in distributed environment. If the same record is > present in two different db nodes, then both copies

Re: [orientdb] Re: Any plans of improving ObjectDb

2015-06-15 Thread Chaitanya
work with > orient from java. > Graph features work well with object api (usually I mix apis and it works > very well). > I just want to be sure that it won't disappear someday (and there is no > alternative for it) > > понедельник, 15 июня 2015 г., 18:05:30 UTC+6 пол

Re: [orientdb] Re: Any plans of improving ObjectDb

2015-06-15 Thread Chaitanya
Adding Luca to this thread. On Mon, Jun 15, 2015 at 8:50 PM Chaitanya wrote: > +l.garu...@orientdb.com > > On Mon, Jun 15, 2015 at 5:50 PM xvik wrote: > >> I join the question about the future of object api. >> >> According to the documentation: This API hasn

Re: [orientdb] Slow on frequent queries

2015-06-15 Thread Chaitanya
1 second = 1000 millis. On Mon, Jun 15, 2015 at 8:02 PM Maverick wrote: > Hi > > > I'm using an OrientDB graph database in an EU-funded FP7 project to > support data-based AI risk analysis algorithms. > > > In each algorithm, I frequently (e.g., 40-50 times in a single algorithm) > need to get "

Re: [orientdb] Re: Saving a POJO object into orientdb

2015-06-15 Thread Chaitanya
x or pojo). > > I didn't have any benchmarks.. most of the time it simply works fast enough > > понедельник, 15 июня 2015 г., 18:22:34 UTC+6 пользователь Chaitanya Reddy > написал: >> >> Cool. That means, ObjectDb uses DocumentDb under the hood. When ever we >>

Re: [orientdb] Re: Saving a POJO object into orientdb

2015-06-15 Thread Chaitanya
ead to ask developers about the future of object api > in the next releases. > > понедельник, 15 июня 2015 г., 17:55:25 UTC+6 пользователь Chaitanya Reddy > написал: >> >> Here <http://orientdb.com/docs/last/Java-API.html>. Under Object API, it >> says not

[orientdb] Any plans of improving ObjectDb

2015-06-15 Thread Chaitanya
Hi It looks like ObjectDb also pretty cool. Why is it 50% slower compared with DocumentDb? Thank you Chaitanya -- --- 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, sen

Re: [orientdb] Re: Saving a POJO object into orientdb

2015-06-15 Thread Chaitanya
ument api. > > Regarding jackson and gson: something like this is definitely possible > (and should be quite easy to do), but current object api supports "lazy > loading" (like in hibernate). > For some situations, this could be very helpful. > > понедельник, 15 июня

Re: [orientdb] Re: Index type exception of SPATIAL

2015-06-15 Thread Chaitanya
SQL command is working fine. It was throwing exception from java. On Mon, Jun 15, 2015 at 3:46 PM SavioL wrote: > Hi, > > try this code (is a simple example): > > create class Spazio extends V > > > CREATE property Spazio.name string > > CREATE property Spazio.latitude double > > CREATE propert

Re: [orientdb] Re: Saving a POJO object into orientdb

2015-06-15 Thread Chaitanya
; > c.setEmail("a...@gmail.com"); >> > c.setNumber(123456789L); >> // create list of contact >> List list = new ArrayList(); >> list.add(c); >> // Insert date into class User >> User user = new User(); >> user.setFirstName("

Re: [orientdb] Re: Saving a POJO object into orientdb

2015-06-15 Thread Chaitanya
; // EmbeddedList* *}* Thank you Chaitanya On Mon, Jun 15, 2015 at 1:04 PM Giulia Brignoli wrote: > Hi Chaitanya, > > Can you post all the code of the User class? > > Bye, Giulia > > -- > > --- > You received this message because you are subscribed to the Google G

[orientdb] Question regarding RID

2015-06-14 Thread Chaitanya
Hi I am new to orientdb. Is RID unique to a record even in distributed environment? Could anyone throw some light in how will RID places a better role in Sharding and Replication. Thank you Chaitanya -- --- You received this message because you are subscribed to the Google Groups "Ori

Re: [orientdb] Re: Index type exception of SPATIAL

2015-06-14 Thread Chaitanya
Did the same. But it is throwing that exception. Found some thing here . On Mon, Jun 15, 2015 at 11:44 AM scott molinari < scottamolin...@googlemail.com> wrote: > http://orientdb.com/docs/last/Spatial-Index.html > > Scott > > -- > > ---

[orientdb] Index type exception of SPATIAL

2015-06-14 Thread Chaitanya
9) Thank you Chaitanya -- --- 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, visit https:/

[orientdb] Saving a POJO object into orientdb

2015-06-13 Thread Chaitanya
Hi I am trying to save a POJO class object into database but failed to do it. Could anyone tell me, How to do that? Please find my code below: *ODatabaseDocumentTx db = new OPartitionedDatabasePoolFactory().acquire()* *User user = new User();* *user.setFirstName("Chaitanya Reddy").s

Re: [orientdb] New benchmarks from Arango

2015-06-11 Thread Chaitanya
I think these benchmarks are from nodejs app. But OrientDb is a jvm based database. Why can't we make a benchmark with ArangoDb? On Fri, Jun 12, 2015 at 12:07 AM Chaitanya wrote: > +1 > > On Thu, Jun 11, 2015 at 9:06 PM scott molinari < > scottamolin...@googlemail.com>

Re: [orientdb] New benchmarks from Arango

2015-06-11 Thread Chaitanya
+1 On Thu, Jun 11, 2015 at 9:06 PM scott molinari < scottamolin...@googlemail.com> wrote: > Hi, > > I just ran into this and I would imagine, you gents would want to know > about it and also, more than likely, do something about it. > > > https://www.arangodb.com/2015/06/performance-comparison-be

Re: [orientdb] Re: Is there any starter sample?

2015-06-09 Thread Chaitanya
Super cool. Thank you Craig, I will go through it. On Wed, Jun 10, 2015 at 12:32 AM W. Craig Trader wrote: > Chaitanya ... > > I wrote a sample OrientDB app (https://github.com/wcraigtrader/ogp) to > test performance of ingesting graphs with large numbers of edges. While > it&#

Re: [orientdb] Re: Is there any starter sample?

2015-06-09 Thread Chaitanya
May be, but we need them some where, otherwise it will be hard for all of us, to write mails for every small doubt. On Tue, Jun 9, 2015 at 5:04 PM scott molinari wrote: > Well, I have to disagree. Yes, by all means, there needs to be more work > on teaching how to work with OrientDB, but the dow

Re: [orientdb] Re: Is there any starter sample?

2015-06-09 Thread Chaitanya
Mainly Java, if possible others too. On Tue, Jun 9, 2015 at 4:42 PM scott molinari wrote: > Example code from what language? > > Scott > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receivi

Re: [orientdb] Is there an alternative to ODatabaseDocumentPool?

2015-06-09 Thread Chaitanya
Hi Andrey, Could you point me to the sample or documentation. I am little confused here. Thank you in advance. On Tue, Jun 9, 2015 at 2:29 PM Andrey Lomakin wrote: > You will specify it during construction of document > > On Tue, Jun 9, 2015, 11:57 Chaitanya wrote: > >> But

Re: [orientdb] Is there an alternative to ODatabaseDocumentPool?

2015-06-09 Thread Chaitanya
But how document.save() will save it to the required class? On Tue, Jun 9, 2015 at 2:26 PM Andrey Lomakin wrote: > Or merely document.save() > > On Tue, Jun 9, 2015, 11:55 Chaitanya wrote: > >> Ok. Gotcha. We need to call ODatabaseDocumentTx.save(ODocument). >> >&g

Re: [orientdb] Is there an alternative to ODatabaseDocumentPool?

2015-06-09 Thread Chaitanya
pool.acquire() . That is only difference . > > On Tue, Jun 9, 2015, 11:50 Chaitanya wrote: > >> Thank you Andrey. >> >> Do you have any sample code for adding a new document using this >> 'orientPool'? I unable to find any documentation to do so. >&g

Re: [orientdb] Is there an alternative to ODatabaseDocumentPool?

2015-06-09 Thread Chaitanya
n Tue, Jun 9, 2015, 11:26 Chaitanya wrote: > >> I found a bug/3524 >> <https://github.com/orientechnologies/orientdb/issues/3524> related to >> this depreciation. But what exactly the difference. Ultimately we are going >> to get the pool object with

Re: [orientdb] Re: Is there any starter sample?

2015-06-09 Thread Chaitanya
+1 for including sample code. On Tue, Jun 9, 2015 at 1:51 PM James Wang wrote: > I suggest to include some sample code in the download > http://orientdb.com/download/ > > > On Tuesday, 9 June 2015 06:32:10 UTC+1, scott molinari wrote: >> >> This free Udemy course is a good starting tutorial. >>

Re: [orientdb] Is there an alternative to ODatabaseDocumentPool?

2015-06-09 Thread Chaitanya
actory().get(url, username, password);* I am planning to use 'orientPool' singleton object in all the threads. Will it create any problem? Thank you Chaitanya On Tue, Jun 9, 2015 at 12:21 PM Chaitanya Reddy wrote: > Hi > > I am just starting to write code in java. From the do

[orientdb] Is there an alternative to ODatabaseDocumentPool?

2015-06-08 Thread Chaitanya Reddy
Hi I am just starting to write code in java. From the documentation I found the database pool code. But my ide is complaining about it with deprecated message. Can any one suggest a better way to use pools, if possible a sample code too. Thanks in advance. Regards Chaitanya -- --- You

Re: [orientdb] Re: What is the difference between plocal and remote ?!!!

2015-06-08 Thread Chaitanya
Yes Scott, it is. I was confused with plocal and remote. But to work with multiple platforms (non-jvm) and for distributed architectures, we should use remote. On Mon, Jun 8, 2015 at 11:41 PM W. Craig Trader wrote: > Well, any language that doesn't run on the Java VM. So Groovy, jRuby, > Scala,

Re: [orientdb] Re: What is the difference between plocal and remote ?!!!

2015-06-08 Thread Chaitanya
replication > logic > > Luigi > > > 2015-06-08 19:11 GMT+02:00 Chaitanya : > >> Yes. I know that, plocal creates a persistent local database. But with >> remote also, we can create a plocal document database. How are they >> different w.r.t distributed

Re: [orientdb] Re: What is the difference between plocal and remote ?!!!

2015-06-08 Thread Chaitanya
June 8, 2015 at 9:39:54 PM UTC+5:30, Chaitanya Reddy wrote: >> >> Hi >> >> I am new to orientdb. I have a question regarding plocal and remote. >> >> There are two options available to create a persistent database, remote >> and plocal. But I want to know

[orientdb] What is the difference between plocal and remote ?!!!

2015-06-08 Thread Chaitanya Reddy
Hi I am new to orientdb. I have a question regarding plocal and remote. There are two options available to create a persistent database, remote and plocal. But I want to know what is the difference b/w those two in distributed scenario? Thank you Chaitanya -- --- You received this

[orientdb] Is there any starter sample?

2015-06-08 Thread Chaitanya Reddy
Hi I am new to orientdb, just finished reading the doc but not completely. Can any one point me to a starter or sample. Thank you Chaitanya -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop

Re: [orientdb] Geo Spatial queries

2015-06-07 Thread Chaitanya
Ok. Gotcha. Thank you Luigi. On Mon, Jun 8, 2015 at 11:13 AM Luigi Dell'Aquila < luigi.dellaqu...@gmail.com> wrote: > Hi Chaitanya, > > there is no built-in support for this kind of queries in OrientDB right > now. It is in the roadmap for next release (2.2). > For n

Re: [orientdb] Geo Spatial queries

2015-06-07 Thread Chaitanya
Can any one provide some basics. Thank you On Sun, Jun 7, 2015, 6:50 PM Chaitanya Reddy wrote: > Hi OrientDB Users and Team > > I just starting to use OrientDB. I am very excited about OrientDB. But I > have question about geo spatial queries. > > Scenario: > Stored a poly

[orientdb] Geo Spatial queries

2015-06-07 Thread Chaitanya Reddy
can I do this? Could you suggest a way. Thank you very much in advance. Regards Chaitanya -- --- 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 orien

Re: [orientdb] Issue in executing shortest path query through Java

2013-12-17 Thread Chaitanya
> > Hi Luca, > > I am using remote URL, and storage type local. I have debugged the source > code, and found that the className obtained with getRecord().getClassName() > in toString() method of OrientVertex class is null. > > Below is the complete stack trace: > > Exception in thread "main" jav

Re: [orientdb] Issue in executing shortest path query through Java

2013-12-17 Thread Chaitanya
ng.valueOf(String.java:2827) at java.io.PrintStream.println(PrintStream.java:771) at TestGraphDBRelations.main(TestGraphDBRelations.java:23) On Monday, December 16, 2013 9:08:12 PM UTC+5:30, Lvc@ wrote: > > Hi Chaitanya, > the exception is not complete: com.sun.jdi.InvocationException o