ID column must not be null, whatever you do in database driver, will only be trigger before/after insert or any other operation, But according to error it is giving error before any error.
Set something to ID values or try something
@GeneratedValue(strategy = GenerationType.IDENTITY)