spring jpa reset auto increment code example Example: spring postgresql reset auto increment to 0 ALTER SEQUENCE product_id_seq RESTART WITH 1453