An sql and not a java problem (and I believe its database dependent). Call nextval on the sequence. If you are wishing to auto increment a primary key, set the default value of that key to the...