Created
June 5, 2017 05:07
-
-
Save sachinsmc/ac768374788e751c26251ac3a9b59e64 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
<?xml version='1.0' encoding='utf-8'?> | |
<!DOCTYPE hibernate-configuration PUBLIC | |
"//Hibernate/Hibernate Configuration DTD 4.0//EN" | |
"http://hibernate.sourceforge.net/hibernate-configuration-4.0.dtd"> | |
<hibernate-configuration xmlns="http://www.hibernate.org/xsd/orm/cfg" | |
xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-configuration hibernate-configuration-4.0.xsd" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<session-factory> | |
<property name="connection.driver_class">com.mysql.jdbc.Driver</property> | |
<property name="connection.url">jdbc:mysql://localhost:3306/sachin?useSSL=false</property> | |
<property name="connection.username">root</property> | |
<property name="connection.password">root</property> | |
<property name="dialect">org.hibernate.dialect.MySQLDialect</property> | |
<property name="show_sql">true</property> | |
<property name="hbm2ddl.auto">update</property> | |
<mapping class="com.smc.model.UserModel"></mapping> | |
</session-factory> | |
</hibernate-configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment