You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constraint like this one below
create property LIVES_IN.out LINK User;
create property LIVES_IN.in LINK Address;
create index UNIQUE_LIVES_IN on LIVES_IN(out,in) unique;
should ensure something like this
Luca LIVES_IN London
Luca LIVES_IN Rome
Luigi LIVES_IN Rome
OrientDB Version: 3.0
Java Version: 1.8
OS: Win 7
Expected behavior
The constraint like this one below
create property LIVES_IN.out LINK User;
create property LIVES_IN.in LINK Address;
create index UNIQUE_LIVES_IN on LIVES_IN(out,in) unique;
should ensure something like this
Luca LIVES_IN London
Luca LIVES_IN Rome
Luigi LIVES_IN Rome
work fine, and when we get same relation twice
say another
Luca LIVES_IN London
it should break
Actual behavior
it breaks right at 3rd line
Luigi LIVES_IN Rome
Steps to reproduce
https://github.com/careerscale/orientdb-demo/blob/master/orientdb-java-sample/src/test/java/com/orientdb/samples/test/OrientDBInvalidTxCounterTest.java
and check createUser_gremlin() method, run it.
The text was updated successfully, but these errors were encountered: