Hi,
if this is the sequence that you used

previous insert 1,2,3...

select from Contact  --> return all vertices with id 1,2 and 3

CREATE INDEX contactId on Contact(id) UNIQUE_HASH_INDEX

insert into Contact (id) values (4)

have you tried to get the last id added, with the query: 
SELECT FROM Contact WHERE id = 4
or this: 
SELECT FROM INDEX: contactID WHERE key = 4 

Always empty result? 

Regards,
Savio L.

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to