hibernate
来源:互联网 发布:网络专卖授权书 编辑:程序博客网 时间:2024/05/23 20:13
<?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>
<property name="myeclipse.connection.profile">wyj</property>
<property name="connection.url">
jdbc:oracle:thin:@127.0.0.1:1521:orcl
</property>
<property name="connection.username">scott</property>
<property name="connection.password">tiger</property>
<property name="connection.driver_class">
oracle.jdbc.OracleDriver
</property>
<property name="dialect">
org.hibernate.dialect.Oracle10gDialect
</property>
<property name="show_sql">true</property>
<property name="hbm2ddl.auto">update</property>
<property name="format_sql">true</property>
<property name="javax.persistence.validation.mode">none</property>
<mapping class="cn.jbit.bean.Emp" />
<mapping class="cn.jbit.bean.Dept" />
</session-factory>
</hibernate-configuration>
<!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>
<property name="myeclipse.connection.profile">wyj</property>
<property name="connection.url">
jdbc:oracle:thin:@127.0.0.1:1521:orcl
</property>
<property name="connection.username">scott</property>
<property name="connection.password">tiger</property>
<property name="connection.driver_class">
oracle.jdbc.OracleDriver
</property>
<property name="dialect">
org.hibernate.dialect.Oracle10gDialect
</property>
<property name="show_sql">true</property>
<property name="hbm2ddl.auto">update</property>
<property name="format_sql">true</property>
<property name="javax.persistence.validation.mode">none</property>
<mapping class="cn.jbit.bean.Emp" />
<mapping class="cn.jbit.bean.Dept" />
</session-factory>
</hibernate-configuration>
0 0
- hibernate
- Hibernate
- Hibernate
- Hibernate
- hibernate
- hibernate
- Hibernate
- Hibernate
- Hibernate
- hibernate
- Hibernate
- Hibernate
- hibernate
- hibernate
- hibernate
- Hibernate
- Hibernate
- hibernate
- HDU 1796 - How many integers can you find(容斥原理)
- java编译时和运行时
- 硬盘安装Kali Linux
- 函数模板和模板函数(引用)
- 畅通工程
- hibernate
- 基于TCP网络通信的自动升级程序源码分析-客户端连接服务器
- 基于TCP网络通信的自动升级程序源码分析-客户端请求服务器上的升级信息
- Sping 中包的方法WebUtils.getParametersStartingWith(request,String);
- 基于TCP网络通信的自动升级程序源码分析-启动升级文件下载程序
- 基于TCP网络通信的自动升级程序源码分析-服务器发送文件
- 基于TCP网络通信的自动升级程序源码分析-客户端接收文件
- 【Linux】常用命令
- 配置nginx状态信息的代码,就是往nginx_vhosts.conf中添加如下内容