From 8a67493fc0317dfcfd1c1ba6ef0f7817338ffe69 Mon Sep 17 00:00:00 2001 From: Denis Natusch Date: Sun, 19 Nov 2023 19:18:26 +0100 Subject: [PATCH] NOT NULL --- src/main/java/catering/users/UserManagement.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/catering/users/UserManagement.java b/src/main/java/catering/users/UserManagement.java index fff7457..0382501 100644 --- a/src/main/java/catering/users/UserManagement.java +++ b/src/main/java/catering/users/UserManagement.java @@ -35,6 +35,7 @@ public class UserManagement { user.setLastname(lastname); user.setFirstname(firstname); users.save(user); + System.out.println(user.getLastname()); // NOT NULL return user; }