Yes employeeDAO is interface and employeeHibernateDAO implements employeeDAO
and employee is a class where all the elements are defined ::
String employeename; calendar StartTime; etc, etc...and their getters and setters.
Now how are transactions taking place? How is the employee.hbm.xml mapping file used, etc?
Lets say I need to retrieve the value employeename from table
Do I have new constructor employeeDAO employeedao = new employeeDAO;
or
eployeeHibernateDAO empHibdao = new employeeHibernateDAO;
I am not sure whether to call the interface or implementation...I am confused.