hi i tried this but it seems to just hang.  is this not supported?

private void updateAutoIncrement(int currentId) {
  Query q = em.createNativeQuery("ALTER TABLE test auto_increment = ?;");
  q.setParameter(1, (currentId + 2));
  q.executeUpdate();
}

Reply via email to