希望能帮助你,采纳吧!
谢谢!
以下是hibernate.cfg.xml配置文件:
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.url">jdbc:oracle:thin:@***:oadb</property>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.oracledriver</property>
<property name="hibernate.connection.username">***</property>
<property name="hibernate.connection.password">***</property>
<property name="hibernate.dialect">">org.hibernate.dialect.oracle9dialect</property>
<property name="hibernate.show_sql">true</property>
<mapping resource="***.hbm.xml" />
</session-factory>
</hibernate-configuration>
希望能帮助你,采纳吧!
谢谢!