-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Duplicate id getting generated for UUID Hex in Clustered Env
PostPosted: Mon Oct 08, 2012 4:14 pm 
Newbie

Joined: Fri Oct 05, 2012 12:55 pm
Posts: 1
Hi All,
I need some assistance regarding the below issue:-
We are using Hibernate 3.6 version and we have used the below mapping in our Hibernate mapping files:-
<id column="TAXDETAILS_CODE" name="id" type="string"/>
<generator class="uuid.hex" />
</id>

In Clustered Environment having 10 nodes and 4 servers in each node we are duplicate uuid are getting generated in some cases.
This generally happens when multiple servers getting request at same point in time for the first time after the server restart.
If after server restart we post request to the servers one by one and then if it gets concurrent requests on multiple servers it works fine.

Any pointers or suggestions will be greatly helpful.
Thanks in Advance
SumanD


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.