4.session flush 隔离级别:hibernate.cfg.xml
2016-04-19 09:00
375 查看
<!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.url">jdbc:mysql://localhost/test</property> <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> <property name="hibernate.connection.username">root</property> <property name="hibernate.connection.password">root</property> <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> <property name="hibernate.show_sql">true</property> <property name="hibernate.format_sql">true</property> <mapping resource="com/bjpowernode/hibernate/User1.hbm.xml"/> <mapping resource="com/bjpowernode/hibernate/User2.hbm.xml"/> <mapping resource="com/bjpowernode/hibernate/User3.hbm.xml"/> </session-factory> </hibernate-configuration>
相关文章推荐
- 面向对象开发方法概述
- 2016年 蓝桥杯省赛测试题(Java)
- error while loading shared libraries: /lib64/libc.so.6: ELF file OS ABI invalid
- linux集群运维工具:clustershell和pssh
- LAMT基于mod_jk方式的负载均衡集群
- REST风格
- 【Struts实现页面验证码】
- C#引用传递
- 5.一对一外键单向关联(人对身份证):总结
- 1.一对一外键双向关联(人对身份证):object,hbm
- 2.一对一外键双向关联(人对身份证):工具类
- form 表单 action 参数 接收不了
- nodejs中异步
- iTunes 错误 -50
- 数据结构算法——顺序表的应用
- Java Web开发详解:RequestDispatcher接口
- 剑指offer面试题 二叉树的镜像
- Hive学习二
- oralce 导入导出命令
- 跟学韩老师学习java-servlet篇之六 request.getRequestDispatcher在web内的转向详解