I'll look into that in the next few days.

Michael

Sent from my iBrick4


Am 30.06.2011 um 16:25 schrieb Matt Chambers <yougotroo...@gmail.com>:

> I asked this same question a little while ago, the answer is that its up to
> you to guarantee uniqueness.  There are a few different ways to to this, for
> now I took the easy way out and do all writes with a single thread.  I'm
> basically just using a ThreadPoolExecutor with a single thread and different
> command objects implementing Callable<T>.
> 
> -Matt
> 
> On Thu, Jun 30, 2011 at 6:03 AM, V <vlin...@gmail.com> wrote:
> 
>> I have an element of my node marked with
>> @Indexed
>> String name
>> 
>> I want to ensure that when I persist nodes, only one node with that name
>> gets persisted.  (I want to throw an error here and ask the user to give a
>> different name)
>> What is the best way to ensure this. Any suggestions  ?
>> 
>> - Karan
>> _______________________________________________
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>> 
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to