I am trying to create a 8 digit unique number as the transaction id and increment it by one for other transaction.
for suppose the transaction id be for the first booking is 98723450
then after every booking should increment by one as 98723451,98723452 etc...
For this I am using Search Results Web results Spring Data JPA and hibernate.