Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

generatedvalue spring boot

import javax.persistence.GenerationType;

@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;

 
PREVIOUS NEXT
Tagged: #generatedvalue #spring #boot
ADD COMMENT
Topic
Name
1+2 =