I'd like to know what is the best practice to use hibernate; I would like to know if what I'm doing make sense.
I have couple of services:
every service has it's own purpose; for example HRService can add new employee, save, remove etc...
the HRService looks like this
Q: base on the design above - is this a good why to utilize hibernate? is there a better way?
should I close the connection at the end? should every method start with line1 and line2; should I create save method for every class.