Created
March 18, 2020 03:40
-
-
Save cuongld2/2ce43a12b7184d4a4fd7c279d8380a00 to your computer and use it in GitHub Desktop.
hibernate-config-jdbc
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
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE hibernate-configuration PUBLIC | |
"-//Hibernate/Hibernate Configuration DTD 3.0//EN" | |
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> | |
<hibernate-configuration> | |
<session-factory> | |
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> | |
<property name="hibernate.connection.url"> | |
jdbc:mysql://localhost:3306/restapi | |
</property> | |
<property name="hibernate.connection.username">root</property> | |
<property name="hibernate.connection.password">cuong1990</property> | |
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> | |
<property name="hibernate.default_schema">restapi</property> | |
<property name="show_sql">true</property> | |
<property name="hibernate.temp.use_jdbc_metadata_defaults">false</property> | |
</session-factory> | |
</hibernate-configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment