I keep getting contraint violation, for my id is null and row in the table could not insert,
SQLEXCEPTION cannot insert null into column id
my id in the tbale has the following:
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name="id")
im using SQL Server…. any ideas?
sorted it out, apparently someone had deleted the auto increment and changed the identity column to a normal int column.
fixed in the database.