If a user is referenced, then it cannot be deleted, here the stacktrace:
Call: DELETE FROM users WHERE (ID = ?)
Exceptions
... 97 more
Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "users" violates foreign key constraint "fk_gamemodel_createdby_id" on table "gamemodel"
If a user is referenced, then it cannot be deleted, here the stacktrace:
Call: DELETE FROM users WHERE (ID = ?) Exceptions ... 97 more Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "users" violates foreign key constraint "fk_gamemodel_createdby_id" on table "gamemodel"