Below is way to create random UUID , this uuid can be used in place of sequencer (oracle sequence creation which will be provided in hibernate/jpa entities)
import java.util.UUID;
UUID.randomUUID().toString()
import java.util.UUID;
UUID.randomUUID().toString()
No comments:
Post a Comment