wilin
          wilin
          posts - 6,comments - 3,trackbacks - 0



          hibernate.cfg.xml
           1 <?xml version="1.0" encoding="utf-8"?>
           2 <!DOCTYPE hibernate-configuration PUBLIC
           3 "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
           4 "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
           5 <hibernate-configuration>
           6   <session-factory>
           7     <property name="hibernate.connection.url">jdbc:oracle:thin:@192.168.0.212:1521:mtime</property>
           8     <property name="hibernate.cglib.use_reflection_optimizer">true</property>
           9     <property name="hibernate.connection.password">lindasl</property>
          10     <property name="hibernate.connection.username">WILINTEST</property>
          11     <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
          12     <property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
          13     <property name="hibernate.default_schema">WILINTEST</property>
          14     <property name="hibernate.show_sql">true</property>
          15   </session-factory>
          16 </hibernate-configuration>

          需要特別指出的是第13行,一定要加,而且schema一定要大些,不然。。。。。
          posted on 2005-07-01 09:45 wilin 閱讀(183) 評論(0)  編輯  收藏 所屬分類: eclipse

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 垣曲县| 延津县| 阿拉善左旗| 澳门| 肥西县| 临沭县| 杂多县| 满洲里市| 沅江市| 祁连县| 镇宁| 阿瓦提县| 乌兰浩特市| 金寨县| 新巴尔虎右旗| 宜阳县| 林芝县| 庆城县| 左贡县| 浠水县| 胶南市| 桦甸市| 商洛市| 鹿邑县| 涞源县| 开平市| 桐城市| 盐池县| 金华市| 马龙县| 仙居县| 小金县| 霍林郭勒市| 遵义市| 开化县| 乐陵市| 湛江市| 梓潼县| 麻江县| 汉中市| 米林县|