title: How to avoid ID Generation Concurrency in JPA 2.0 + Spring 3.0?
body: <p>In my web application, I get the <code>Concurrency Problem</code> in JPA ID Generation.
  I use <code>Table</code> generation strategy. I already get <a href="http://en.wikibooks.org/wiki/Java_Persistence/Identity_and_Sequencing#Concurrency_and_Deadlocks" rel="nofollow">Concurrency Issue</a> of JPA ID Generation.</p>
  
  <p>How can I avoid <code>Concurrency Problem</code> in JPA ID Generation?
  What will be better way for ID generation?
  Does Spring 3.0 have a way to avoid it?</p>
  
  <p>Actually, I worry about the database dependency if I use other id generation strategy.</p>