Which generation strategy uses an auto-increment column to generate IDs?
@Entity
public class User {
@Id
@GeneratedValue(strategy = GenerationType._____)
private Long id;
// ...
}Which generation strategy uses an auto-increment column to generate IDs?
@Entity
public class User {
@Id
@GeneratedValue(strategy = GenerationType._____)
private Long id;
// ...
}Create a free account to access the full topic