Configure the Hibernate database driver.
Hibernate.properties under the Hibernate directory
We configure mysql
We configure the log4j, copy it.
This log4j.xml role is to record Error and LOG information in the current directory