Skip to content

Entity ID generation example in the style of Instagram

Notifications You must be signed in to change notification settings

Cepr0/insta-id-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Entity ID generation example in the style of Instagram.

Usage example

@Id
@GeneratedValue(strategy = SEQUENCE, generator = "idGen")
@GenericGenerator(name = "idGen", strategy = "io.github.cepr0.demo.IdGenerator", parameters = {
        @Parameter(name = "sequence_name", value = "global_seq"),
        @Parameter(name = "increment_size", value = "5")
})
private Long id;

About

Entity ID generation example in the style of Instagram

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages