Re: [orientdb] Re: Record deadlock issue in 2.0.2

2015-03-10 Thread Kareem Jabr
Hi, I get this issue when I do massive and continues parentModel.ChildModelList.clear() on nested lists of an object and immediately calling addAll(new List) and this parentModel class has many nested lists represented as LinkList in DB. I am not getting this issue now as I modified the logic to

Re: [orientdb] Re: Record deadlock issue in 2.0.2

2015-03-04 Thread Kareem Jabr
Target')) from #14:4) set tags = 'mytag' > > Also, i don't think you can parameterize that so you have to do this' > > UPDATE (select expand(in('Target')) from #%s) set tags = '%s' > > > > On Thursday, February 19, 20

Re: [orientdb] Record deadlock issue in 2.0.2

2015-02-24 Thread Kareem Jabr
total 21504K, used 17944K [0xd5a00000, 0xd6f0, 0xe000) object space 21504K, 83% used [0xd5a0,0xd6b862c8,0xd6f0) On Mon, Feb 23, 2015 at 11:06 AM, Andrey Lomakin wrote: > HI, > Could you send me thread dump then ? > &g

Re: [orientdb] Record deadlock issue in 2.0.2

2015-02-21 Thread Kareem Jabr
aux | grep java, so I have to kill the process each time. especially when the timeout exception occurs. Thanks On Saturday, February 21, 2015 at 12:47:53 PM UTC+4, Kareem Jabr wrote: > > Hi, > > Thanks for your help. > > I tried the following after seeing

Re: [orientdb] Record deadlock issue in 2.0.2

2015-02-21 Thread Kareem Jabr
at 9:44:58 AM UTC+4, Andrey Lomakin wrote: > > Hi, > I do not think that it is deadlock, it is timeout exception could you set > storage.record.lockTimeout property to 20 to double check ? > > > On Fri, Feb 20, 2015 at 1:08 AM, Kareem Jabr > wrote: > >> I a

[orientdb] Re: OTimeoutException: Timeout on acquiring exclusive lock against resource of class:

2015-02-19 Thread Kareem Jabr
I am also having the same issue have you found a solution for it. I am on 2.0.2 On Friday, December 12, 2014 at 4:07:17 PM UTC+4, Adithyan K wrote: > > OrientDB Version : 2.0-M3 > > our software reads from doc db in multi threads while there is another > only one thread creating records...!

[orientdb] Record deadlock issue in 2.0.2

2015-02-19 Thread Kareem Jabr
I am facing this exception a lot now, in context with path [/aa-sport] threw exception [com.orientechnologies.orient.core.exception.ODatabaseException: Error on retrieving record #27:165831 (cluster: event)] with root cause com.orientechnologies.common.concur.OTimeoutException: Can not lock reco

[orientdb] Re: Object DB nested single objects not saved with 2.0

2015-01-28 Thread Kareem Jabr
I tried creating an issue on https://github.com/orientechnologies/orientdb/issues But create issue button is disabled. -- --- 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

Re: [orientdb] Re: Object DB nested single objects not saved with 2.0

2015-01-28 Thread Kareem Jabr
;); account.createProperty("id", OType.INTEGER); account.createProperty("birthDate", OType.DATE); account.createProperty("address", OType.EMBEDDED, address); On Tuesday, January 27, 2015 at 8:51:31 PM UTC+4, Lvc@ wrote: > > On 27 January 2015 at 17:11, Kareem Jabr >

Re: [orientdb] Re: Object DB nested single objects not saved with 2.0

2015-01-27 Thread Kareem Jabr
n that. > > Lvc@ > > On 27 January 2015 at 16:52, Kareem Jabr > > wrote: > >> Thanks Lvc@ for your reply. Is there an automated way like an annotation >> to do this when creating the schema from java side!? Because I have so many >> POJOS in my project. &

Re: [orientdb] Re: Object DB nested single objects not saved with 2.0

2015-01-27 Thread Kareem Jabr
bedded: > > > *create property Account.person LINK Person* > Lvc@ > > > On 27 January 2015 at 16:16, Kareem Jabr > > wrote: > >> I found a workaround for this which is using the api of 1.7.10 with DB >> 2.0, this issue is solved as in the maven dependency

[orientdb] Re: Object DB nested single objects not saved with 2.0

2015-01-27 Thread Kareem Jabr
I found a workaround for this which is using the api of 1.7.10 with DB 2.0, this issue is solved as in the maven dependency below: But I would like to know how to do the same job with 2.0 API: com.orientechnologies orientdb-enterprise 1.7.10 com.orientechnologies orientdb-client 1.7.10 co

Re: [orientdb] Re: Object DB nested single objects not saved with 2.0

2015-01-27 Thread Kareem Jabr
rking fine now it is embedded in property person inside Account. On Monday, January 26, 2015 at 12:22:53 PM UTC+4, Luigi Dell'Aquila wrote: > > Hi Kareem, > > how are you creating your documents? Do you have schema defined on your > classes? > > Luigi > > > 2015-0

[orientdb] Re: Object DB nested single objects not saved with 2.0

2015-01-27 Thread Kareem Jabr
*Record B* can be reached only by traversing the container record. On Sunday, January 25, 2015 at 10:53:20 PM UTC+4, Kareem Jabr wrote: > > Hi, > > I have updated the database to 2.0 and I was using 1.7.10 before. Suppose > I have the below scenario: > > Account -> Perso

Re: [orientdb] Re: Object DB nested single objects not saved with 2.0

2015-01-26 Thread Kareem Jabr
cuments? Do you have schema defined on your > classes? > > Luigi > > > 2015-01-25 20:39 GMT+01:00 Kareem Jabr >: > >> Just found out that the saved embedded object is there in the >> Account.person property... But not as a record in the Per

[orientdb] Re: [announcement] OrientDB 2.0 is now Production Ready!

2015-01-25 Thread Kareem Jabr
Please help me in my issue: https://groups.google.com/forum/#!topic/orient-database/GG_9L708jM0 On Tuesday, January 20, 2015 at 10:22:32 PM UTC+4, Lvc@ wrote: > > London, January 20, 2015 > > After 6 months of Development and Testing, 400+ Issues resolved, 55 Pull > Requests from the Community

[orientdb] Re: Object DB nested single objects not saved with 2.0

2015-01-25 Thread Kareem Jabr
Just found out that the saved embedded object is there in the Account.person property... But not as a record in the Person table. How to make it a separate record in Person table? -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscrib

[orientdb] Object DB nested single objects not saved with 2.0

2015-01-25 Thread Kareem Jabr
Hi, I have updated the database to 2.0 and I was using 1.7.10 before. Suppose I have the below scenario: Account -> Person And Account -> List eventsList When I save the account populated with a person and many events. Events are saved but the person object is not!!! And person table never

[orientdb] Fetching from embedded list objectDB

2014-12-22 Thread Kareem Jabr
I have the following structure: tournament{ "status": "today", "tournament_id": 665, "competitions": [ "#17:7991", "#17:7992", "#17:7993", "#17:7994", "#17:7995", "#17:7996", "#17:7997", "#17:7998", "#17:7999", "#17:8000", "#17:8001" ] } competition{ @rid: "#17:7991", name: "some na

[orientdb] Re: Weird issue changing Vertex structure in DB and restore

2014-10-08 Thread Kareem Jabr
Any help here is much appreciated -- --- 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] Weird issue changing Vertex structure in DB and restore

2014-10-02 Thread Kareem Jabr
Hi, I have an a Super class vertex called Abstract which has common properties which are going to be used across all subclasses like created_by, creation_date. Then I have another subclass vertex called Player extending the super class vertex Abstract. I am connecting remotely to the database

Re: [orientdb] OrientDB with tomcat DB locking issue

2014-08-14 Thread Kareem Jabr
> I load a custom orientdb-config.xml > start the server > > and then you can reproduce the folder structure of the Server with > > path/ >databases/ >plugins/ > > in plugins i copied a dist of OrientDB Studio > > and then i was able to run quer

Re: [orientdb] OrientDB with tomcat DB locking issue

2014-08-12 Thread Kareem Jabr
e embedded server Take a look here. > Let's you connect in plocal but you can use tool like Studio and Console > > https://github.com/orientechnologies/orientdb/wiki/Embedded-Server > > > 2014-08-12 0:41 GMT+02:00 Kareem Jabr >: > >> Plocal >> Factory = new Or

Re: [orientdb] OrientDB with tomcat DB locking issue

2014-08-11 Thread Kareem Jabr
Plocal Factory = new OrientGraphFactory("plocal:d:/db/test"); Factory.getTx() On Aug 11, 2014 4:54 PM, "Enrico Risa" wrote: > Hi Kareem > > how do you open the database from tomcat server? > > plocal or remote? > > > > > 2014-08-11 14:51 GMT+02:0

[orientdb] OrientDB with tomcat DB locking issue

2014-08-11 Thread Kareem Jabr
If I try to connect to the DB thru studio from the browser http://localhost:2480/studio/index.html#/database/test/browse *it shows this in the log:* java.io.IOException: The process cannot access the file because another process has locked a portion of the file [ONetworkProtocolHttpDb] Since

[orientdb] Cannot update a record when connecting thru Java API

2014-08-11 Thread Kareem Jabr
Hi, I tried adding a new record by using: OrientGraph().addVertex("class:" + className) but when updating after getting the vertix using: OrientGraph().getVertex(obj.getId()) I get the correct vertix and I populate a map for new changed properties to update the vertix: vertex.setProperti