Hello;
What are the summary steps to use hibernate in the project?
What I know is the following, but I need to know if I am missing something:
- If it is maven project, then I have to add the dependency.
- The xml configuration.
- At the class that represents the database table, import the following:
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
But I am sure I am missing to know other steps, and I am missing to know what I have to import in the class that will do the save and select statement from the database.
Can someone advise me please?
Regards
Bilal