I\'m trying to persist an object to a database. Keep getting \'Column ID cannot accept null value error\'. My object looks like this:
@Entity public cl
Or try with @GeneratedValue(strategy = GenerationType.AUTO) instead of @GeneratedValue(strategy = GenerationType.SEQUENCE).
@GeneratedValue(strategy = GenerationType.AUTO)
@GeneratedValue(strategy = GenerationType.SEQUENCE)