[orientdb] Re: Set cluster conflict strategy via Java API

2016-09-15 Thread alessandrorota04
Hi, what version of OrientDb are you using ? Thanks, Alessandro -- --- 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.

[orientdb] Re: Set cluster conflict strategy via Java API

2016-09-14 Thread alessandrorota04
Hi, you could use : OClass cl=g.createVertexType("Customer", "V"); cl.createProperty("name", OType.STRING); cl.addCluster("usa_customer"); cl.addCluster("china_customer"); cl.setClusterSelection("Round Robin") Hope it helps. Best regards, Alessandro -- --- You received this message