[orientdb] OrientDB. Setting ConflictStrategy throwing an exception

2016-07-28 Thread Mikayel Nersisyan
I have OObjectDatabaseTx. I want to set my own conflict strategy using api. OObjectDatabaseTx db; db.setConflictStrategy(new ORecordConflictStrategy() { @Override public byte[] onUpdate(OStorage storage, byte iRecordType, ORecordId rid, ORecordVersion

[orientdb] Re: Question on how to use OrientDB in JavaFX with thread issues

2016-07-28 Thread Sahand Delta
To make the issue clear, here a little Table * |JavaFX | plain Java |* plocal | works | works| remote |fails | works| I have no idea what could be the reason behind this? Does someone else have any idea or successfully tried the

[orientdb] Re: Estimated release date of v3.0?

2016-07-28 Thread Auke te Winkel
Thanks! Apparently I was looking at an old roadmap page :) On Wednesday, 27 July 2016 16:00:56 UTC+2, alessand...@gmail.com wrote: > > Hi, > you could see http://orientdb.com/docs/2.2/Roadmap.html > > Hope it helps. > -- --- You received this message because you are subscribed to the Google

Re: [orientdb] Spatial Module Doc available in 2.2.x examples mixes lat/long

2016-07-28 Thread Enrico Risa
Hi Tore that was the legacy spatial indexing. EPSG:4326 Seems to be te standard widely used also in other GIS system. 2016-07-28 11:21 GMT+02:00 Tore Austrått : > Hello Enrico, > > in your latest blog post(7/25) you state " ... coordinates (latitude, > longitude) ". >

Re: [orientdb] Uniqe Index in SubClasses

2016-07-28 Thread Luigi Dell'Aquila
Of course this is true only if the parent class is empty, otherwise you have to define a non-unique index on the parent class as well Thanks Luigi 2016-07-28 8:58 GMT+02:00 Luigi Dell'Aquila : > There is just no need to define indexes on the parent class, as long

Re: [orientdb] Uniqe Index in SubClasses

2016-07-28 Thread Luigi Dell'Aquila
There is just no need to define indexes on the parent class, as long as you have indexes on the same properties on the subclass. Eg. if you have a class A with two subclasses A1 and A2 and both subclasses have an index on "name", if you do a SELECT FROM A WHERE name = 'foo' it will use the

Re: [orientdb] Uniqe Index in SubClasses

2016-07-28 Thread hartmut bischoff
Thanks for the quick response. Unfortunately, this leads to other Questions, probably due to a lac of skills on my side 1. How does this affect queries based on the superclass? The Match-Query presented in another topic is already slow. 2. Do I have to define two indexes, one on the

Re: [orientdb] What is the stable version for production?

2016-07-28 Thread Luigi Dell'Aquila
Hi Eswar, You can always find latest stable version here http://orientdb.com/download/ This version is preferred for production purposes. Note: if you hold for a few hours you'll find 2.2.6, we are releasing it now ;-) Thanks Luigi 2016-07-28 8:35 GMT+02:00 eswar reddy

[orientdb] What is the stable version for production?

2016-07-28 Thread eswar reddy
may I know which version is stable version for Production environment -- --- 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

Re: [orientdb] Uniqe Index in SubClasses

2016-07-28 Thread Luigi Dell'Aquila
Hi Hartmut, There is no specific configuration to specify that an index is unique at class level, but you can just avoid to define the index on the superclass, as the query engine will use the subclasses index if needed (first level inheritance only) Thanks Luigi 2016-07-28 7:07 GMT+02:00