當前位置:
首頁 >
前端技术
> javascript
>内容正文
javascript
ssh(Spring+Spring mvc+hibernate)——hibernate.cfg.xml
生活随笔
收集整理的這篇文章主要介紹了
ssh(Spring+Spring mvc+hibernate)——hibernate.cfg.xml
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
<?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"><!-- Generated by MyEclipse Hibernate Tools. -->
<hibernate-configuration><session-factory><property name="dialect">org.hibernate.dialect.MySQLDialect</property><property name="connection.url">jdbc:mysql://localhost:3306/testdb</property><property name="connection.username">root</property><property name="connection.password">123</property><property name="connection.driver_class">com.mysql.jdbc.Driver</property><property name="myeclipse.connection.profile">test_ssh_16qn3</property><property name="show_sql">true</property><property name="format_sql">true</property><mapping resource="org/entity/Dept.hbm.xml" /><mapping resource="org/entity/Emp.hbm.xml" /></session-factory></hibernate-configuration>
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎
總結
以上是生活随笔為你收集整理的ssh(Spring+Spring mvc+hibernate)——hibernate.cfg.xml的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: i3i5i7的区别?
- 下一篇: 为什么i5没有i7贵?