title: Postgres + EJB3 pre-allocation size error
body: <p>I am having problem with sequence in postgres and jpa</p>
  
  <pre><code>Caused by: javax.persistence.EntityExistsException:
  Exception Description: The sequence named [shp_users_seq] is setup incorrectly.  Its increment does not match its pre-allocation size.
          at org.eclipse.persistence.internal.jpa.EntityManagerImpl.persist(EntityManagerImpl.java:443)
          at com.sun.enterprise.container.common.impl.EntityManagerWrapper.persist(EntityManagerWrapper.java:269)
          at base.data.provider.beans.session.DAOImpl.createUser(DAOImpl.java:18)
  </code></pre>