I'm having some unforeseen issues with Hibernate
in my application.
I would like to know if the annotations
implementations made in the java
class are taken to the database or treated only inside the system, since I added @NotNull
to a field, and after restart did not take this implementation for the bank.
My configuration of Hibernate
is as update
, and fields are usually added when modified.
I did not understand why Hibernate
did not automatically change this in the database, and led me to question whether those annotations
are correct.
Thank you.