码迷,mamicode.com
首页 > 数据库 > 详细

oracle 配置

时间:2016-07-11 16:51:00      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:

<properties>
<property name="hibernate.connection.driver_class"
value="oracle.jdbc.driver.OracleDriver"/>
<property name="hibernate.connection.url"
value="jdbc:oracle:thin:@192.168.1.111:1521:orcl"/>
<property name="hibernate.connection.username" value="hospital"/>
<property name="hibernate.connection.password" value="admin"/>
<property name="hibernate.dialect"
value="org.hibernate.dialect.Oracle10gDialect"/>
<!--<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.format_sql" value="true"/>
<property name="hibernate.use_sql_comments" value="false"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
-->
</properties>
<!--<properties>
<property name="toplink.jdbc.driver"
value="oracle.jdbc.driver.OracleDriver" />
<property name="toplink.jdbc.url"
value="jdbc:oracle:thin:@192.168.1.111:1521:orcl" />
<property name="toplink.jdbc.user" value="hospital" />
<property name="toplink.jdbc.password" value="admin" />
</properties>-->

oracle 配置

标签:

原文地址:http://www.cnblogs.com/doudou618/p/5660616.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!