Created
June 16, 2020 07:57
-
-
Save TheMoroccan09/d0a7e8d1f2e036a671cf4cfa7e365aa0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE hibernate-configuration PUBLIC | |
"-//Hibernate/Hibernate Configuration DTD 3.0//EN" | |
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> | |
<hibernate-configuration> | |
<session-factory> | |
<!-- JDBC Database connection settings --> | |
<property name="connection.driver_class">com.mysql.cj.jdbc.Driver</property> | |
<property name="connection.url">jdbc:mysql://localhost:3306/hb_student_tracker?useSSL=false&serverTimezone=UTC</property> | |
<property name="connection.username">hbstudent</property> | |
<property name="connection.password">hbstudent</property> | |
<!-- JDBC connection pool settings ... using built-in test pool --> | |
<property name="connection.pool_size">1</property> | |
<!-- Select our SQL dialect --> | |
<property name="dialect">org.hibernate.dialect.MySQLDialect</property> | |
<!-- Echo the SQL to stdout --> | |
<property name="show_sql">true</property> | |
<!-- Set the current session context --> | |
<property name="current_session_context_class">thread</property> | |
</session-factory> | |
</hibernate-configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment