</property> <!-- Hibernate Properties--> <property name="hibernateProperties"> <props> <!-- Database Dialect--> <prop key="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect </prop> <!-- Whether to display the SQL statement, true, display the SQL statement; false, not display (default value). --> <prop key="hibernate.show_sql">true</prop> <!-- Formatted sql statements are not formatted by default--> <prop key="hibernate.format_sql">true</prop> <! -- Generate the DDL of database objects according to the mapping file between Hibernate tables and objects --> <!-- The properties in it are: none: do nothing, create: delete the original table and create it again, update: update the table, create-drop : delete the original table and create it again, delete the table when the server stops --> <prop key="hibernate.hbm2ddl.auto">create</prop> </props> <!-- <value> database dialect hibernate.dialect =org.hibernate.dialect.MySQL5Dialect Whether to display the SQL statement, true, display the SQL statement; false, not display (default value). hibernate.