hibernate.cfg.xml中有一个配置属性为myeclipse.connection.profile,请问有什么用???

<?xmlversion='1.0'encoding='UTF-8'?><!DOCTYPEhibernate-configurationPUBLIC&n... <?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="myeclipse.connection.profile">oracle.jdbc.OracleDriver</property>         <property name="connection.url">jdbc:oracle:thin:@172.18.53.11:1521:has</property> <property name="connection.username">has</property> <property name="connection.password">has</property> <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property> <property name="dialect">org.hibernate.dialect.Oracle9Dialect</property>   <!-- 显示执行的sql --> <property name="show_sql">false</property> <property name="query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property> <!-- 配置实体映射资源  包名的点要换成 / --> <mapping resource="com/has/hibernate/TbAppointment.hbm.xml" /> <mapping resource="com/has/hibernate/TbArangement.hbm.xml" /> <mapping resource="com/has/hibernate/TbDoctor.hbm.xml" /> <mapping resource="com/has/hibernate/TbHosdetails.hbm.xml" /> <mapping resource="com/has/hibernate/TbHosnotice.hbm.xml" /> <mapping resource="com/has/hibernate/TbHospital.hbm.xml" /> <mapping resource="com/has/hibernate/TbManager.hbm.xml" /> <mapping resource="com/has/hibernate/TbPronotice.hbm.xml" /> <mapping resource="com/has/hibernate/TbSection.hbm.xml" /> <mapping resource="com/has/hibernate/TbSyschangerecord.hbm.xml" /> <mapping resource="com/has/hibernate/TbSysexception.hbm.xml" /> <mapping resource="com/has/hibernate/TbUser.hbm.xml" />  </session-factory></hibernate-configuration>  加粗的地方就是 希望有知道的能解答下 最好详细点  我把这行去掉了  程序也能运行 WHY?? 展开
 我来答
dadao3002
2011-07-06 · TA获得超过360个赞
知道小有建树答主
回答量:189
采纳率:0%
帮助的人:165万
展开全部
myeclipse.connection.profile 是数据库连接的名字,有点别称的意思,只是作为备注或者标识的属性。
浙江启扬智能科技有限公司
2023-06-12 广告
Linux 嵌入式系统中,USB 启动模式能够烧写 ARM 的 uboot 的原因主要有以下几个方面:1. USB 启动模式相对于传统的 BIOS 启动模式来说,具有更高的兼容性和灵活性,可以支持更多的硬件设备和操作系统。2. USB 启动... 点击进入详情页
本回答由浙江启扬智能科技有限公司提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式