Last active
September 10, 2018 01:37
-
-
Save bayraktugrul/ff5d925d6c79b988c7b60c1f8e0c8971 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/hibernate-yazilari?useSSL=false</property> | |
| <property name="connection.username">root</property> | |
| <property name="connection.password"></property> | |
| <property name="hbm2ddl.auto">update</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