I get stuck trying to insert new values in my Postgres DB.
SQL command line:
INSERT INTO public.people
(name, age)
VALUES
('Paul', 12);
Hibernate/Java stuff
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private int id;
The console shouts at me, that id
in people
can't be NULL because of Null-Value-Constraint, but it should be auto-generated or am I wrong?