Changes for BAEL-2243

This commit is contained in:
Nikhil Khatwani 2018-10-09 23:48:39 +05:30
parent a0d084751a
commit 6612e5d99c
1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@ import org.hibernate.annotations.Parameter;
@Entity
public class User {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sequence-generator")
@GeneratedValue(generator = "sequence-generator")
@GenericGenerator(
name = "genericGenerator",
name = "sequence-generator",
strategy = "org.hibernate.id.enhanced.SequenceStyleGenerator",
parameters = {
@Parameter(name = "sequence_name", value = "user_sequence"),