Java, Spring, Microservices, Interview, Coding.
mapped to relational table and let the ORM deal with it, map objects to tables Spring Difference in setting the value in constructor vs setting the value in getter and setter,both are doing the same thing If you want to have an immutable class use constructor otherwise use setters. You should use