hibernate配置文件--hibernate.cfg.xml
来源:互联网 发布:2017最新潮网络词 编辑:程序博客网 时间:2024/04/28 13:16
<?xml version="1.0" encoding="UTF-8"?>
<!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>
<!-- Database connection settings -->
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="connection.url">jdbc:mysql://localhost:3306/struts</property>
<property name="connection.username">root</property>
<property name="connection.password">liangli</property>
<!-- JDBC connection pool (use the built-in) -->
<property name="connection.pool_size">1</property>
<!-- SQL dialect -->
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<!-- Echo all executed SQL to stdout -->
<property name="show_sql">true</property>
<mapping resource="com/rz/domain/Student.hbm.xml"/>
<mapping resource="com/rz/domain/Books.hbm.xml"/>
<mapping resource="com/rz/domain/User.hbm.xml"/>
<!-- <mapping class="com.rz.domain.Student"/> -->
</session-factory>
</hibernate-configuration>
- hibernate.cfg.xml 配置文件
- hibernate.cfg.xml配置文件
- hibernate.cfg.xml配置文件
- hibernate.cfg.xml配置文件
- Hibernate.cfg.xml配置文件
- Hibernate.cfg.xml配置文件
- hibernate.cfg.xml配置文件
- hibernate.cfg.xml 配置文件
- hibernate配置文件hibernate.cfg.xml
- hibernate配置文件--hibernate.cfg.xml
- Hibernate配置文件hibernate.cfg.xml
- Hibernate-配置文件-hibernate.cfg.xml
- Hibernate 配置文件:hibernate.cfg.xml
- Hibernate配置文件(Hibernate.cfg.xml)
- hibernate.cfg.xml配置文件详解
- hibernate.cfg.xml配置文件详解
- Hibernate配置文件模板(.cfg.xml)
- hibernate.cfg.xml配置文件详解
- 不管是不是搞IT,都得搞好英语
- Fastboot简介
- 过Winlicense注册各版本方法总结
- C实现二叉排序树
- 系统表与已有知识的结合
- hibernate配置文件--hibernate.cfg.xml
- 鼠标滚动事件
- c初学者练习程序需求
- 破解VProtect所有版本,PATCH HWID方式过注册
- Java:数据类型转换
- uva10034Freckles - prime最小生成树
- javaBean的映射文件
- android终端下安装和使用gcc进行c语言编程
- 书签