[orientdb] Re: Object binding and List>

2014-06-13 Thread Daniel Hoffmann Bernardes
I am using version 1.7-rc2 of OrientDb On Friday, June 13, 2014 5:15:15 PM UTC-3, Daniel Hoffmann Bernardes wrote: > > Hello, I am using OrientDb with an Object Database and I am having trouble > persisting this kind of class: > public class MyClass { > List> properties; > ... //other pro

[orientdb] Object binding and List>

2014-06-13 Thread Daniel Hoffmann Bernardes
Hello, I am using OrientDb with an Object Database and I am having trouble persisting this kind of class: public class MyClass { List> properties; ... //other properties and setters and getters } oddly I can map the following data structures just fine: Map> List, List>, Map> F

Re: [orientdb] OTransactionOptimistic and transaction start counter

2014-06-13 Thread Odysseas
Hi Andrey, Sorry for the delay in my response. It is difficult to extract a test case from our application for this scenario. My goal when I reported the issue was not to file a bug report but rather to understand what is the expected behavior and if what we are experiencing is the correct beha

Re: [orientdb] Re: why do composite unique indexes not work with inside transactions?

2014-06-13 Thread Andrey Lomakin
Good :-). On Fri, Jun 13, 2014 at 7:43 PM, M B wrote: > So I've retested in OrientDB 1.7.3 and it works ok there. > > -- > > --- > 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, se

[orientdb] Re: why do composite unique indexes not work with inside transactions?

2014-06-13 Thread M B
So I've retested in OrientDB 1.7.3 and it works ok there. -- --- 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 mor

[orientdb] still can't get orientdb cluster to align properly after node stopped/restarted

2014-06-13 Thread alexpmorris
Been testing with the 1.7.4 snapshot, and I still can't get an orientdb cluster to properly align itself after a node is removed and added back. I've tried on windows, on ubuntu, and ubuntu as root just to be sure. I've tried adjust parameters in hazelcast.xml and default-distributed-db-confi

[orientdb] why do composite unique indexes not work with inside transactions?

2014-06-13 Thread M B
I have a database with two indexes on a particular class. When I query within against the non-unique single field index it always works inside and outside a transaction. But If I query against the composite unique index inside the transaction it doesn't work. Below is code that demonstrate

[orientdb] Re: Does anyone have 1.7.2 working with dropwizard, play or jpa?

2014-06-13 Thread alexander anguiano
I just tried this with 1.7.3 and it still doesn't work. Is there a way to override this somehow? On Tuesday, June 10, 2014 3:25:35 AM UTC-5, Carlo Polisini wrote: > > It seems you are getting same exception of me, infact getProviderUtil > in OJPAPersistenceProvider it'is not implemented and rai

Re: [orientdb] Data from database is dissapearing periodically

2014-06-13 Thread Andrey Lomakin
Hello namesake )). Good to hear. Feel free to ask more questions. On Fri, Jun 13, 2014 at 4:50 PM, Андрей Логинов wrote: > Hello, Andrey. > > It seems like I found the cause of that issue - I didn't realize that > there was one more test which performed all 3 steps on that database > (clear, i

Re: [orientdb] Data from database is dissapearing periodically

2014-06-13 Thread Андрей Логинов
Hello, Andrey. It seems like I found the cause of that issue - I didn't realize that there was one more test which performed all 3 steps on that database (clear, init schema, init data). This test was executing ~each 2 hours. I'm sorry for worrying you, there is no problem at all with it. ч

Re: [orientdb] Is there a function or tool to compact .pcl files after mass-insert and -delete?

2014-06-13 Thread David W.
I see, thank you very much for the information. Now that i know that the space will be re-used, i can ignore the behaviour. Best regards, David Am Donnerstag, 5. Juni 2014 19:14:55 UTC+2 schrieb Artem Orobets: > > Hi David, > > There is no such command. That space will be automatically reused f

Re: [orientdb] Cannot import a database

2014-06-13 Thread Hung Tran Dinh
Hi Andrey, Here you are, " orientdb {Test}> import database D:\Test.gz -preserveClusterIDs=true Importing database D:\Test.gz -preserveClusterIDs=true... Started import of database 'remote:localhost/Test' from D:\Test.gz... Non merge mode (-merge=false): removing all default non security classes

Re: [orientdb] Cannot import a database

2014-06-13 Thread Andrey Lomakin
Hi, Could you provide full import log ? On Fri, Jun 13, 2014 at 1:06 PM, Hung Tran wrote: > Hi, > > Today, i try to export database from test server and import it to my > development machine, and I get an error. I don't know how to get it work. > Notes, my machine and server are running the sa

[orientdb] Cannot import a database

2014-06-13 Thread Hung Tran
Hi, Today, i try to export database from test server and import it to my development machine, and I get an error. I don't know how to get it work. Notes, my machine and server are running the same version of Orient DB v1.7. " connect remote:localhost/Test admin admin import database D:\Test.gz

Re: [orientdb] list values not accessible

2014-06-13 Thread Andrey Lomakin
Jamie, Could you answer on my question inside the issue https://github.com/orientechnologies/orientdb/issues/2478#issuecomment-45994264 ? On Fri, Jun 13, 2014 at 12:38 PM, Andrey Lomakin wrote: > Hi Jamie, > It is not so simple :-), if you will have concurrent update, you can > severe from dat

Re: [orientdb] Re: getEdgesBetweenVertexes - has no such function

2014-06-13 Thread Andrey Lomakin
László, Sorry, I did not understand you, could you provide me more extend example of data which you are talking about ? On Fri, Jun 13, 2014 at 11:39 AM, László Rékasi wrote: > Hi Andrey, > > Thank you! i missed the inE() / outE() properties. That's what I need. > However, I found something st

Re: [orientdb] list values not accessible

2014-06-13 Thread Andrey Lomakin
Hi Jamie, It is not so simple :-), if you will have concurrent update, you can severe from data inconsistency problem, that is why business applications should follow MVCC approach and be able to handle concurrent modification exceptions. One more question which I would like to as, is issue reprod

[orientdb] Re: getEdgesBetweenVertexes - has no such function

2014-06-13 Thread László Rékasi
Hi Andrey, Thank you! i missed the inE() / outE() properties. That's what I need. However, I found something strange: select from [#] Shows me let's say 10 in_MyEdge items. It should be a link between an [A] and an [E] vertex class. To check which these are: select expand(inE('MyEdge')) from

Re: [orientdb] Suggestion for DB Schema for large scale chat application.

2014-06-13 Thread Artem Orobets
Hi Prathap, Suppose you have schema: User extends V { String number String name boolean registered } Users connected to friends with edges. To get all registered users you can execute a following query Select from User where regestered = true To register new user check if vertex with the number

[orientdb] Truncate records in class problem

2014-06-13 Thread jaya raj
hi, i have two vertex X and Y and edge Z (X to Y) *X - vertax records* *@rid** name* *out_Z* #11:0rrr #12:0,#12:1,#12:2 #11:1i #12:0,#12:1,#12:2 *Y-vertax records* @rid namein_Z #12:0 #11:0,#11:1 #12:1