日期:2014-05-20 浏览次数:20706 次
<?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="connection.username">outt</property> <property name="connection.url"> jdbc:oracle:thin:@192.168.0.22:1521:orcl<!-- jdbc:oracle:thin:@asidealcom.gicp.net:1521:orcl --> </property> <property name="dialect">org.hibernate.dialect.Oracle9Dialect</property> <property name="myeclipse.connection.profile">outp</property> <property name="connection.password">outt</property> <property name="connection.driver_class"> <!--com.p6spy.engine.spy.P6SpyDriver--> oracle.jdbc.driver.OracleDriver </property> <property name="hibernate.connection.release_mode">auto</property> <property name="show_sql">true</property> <property name="query.factory_class"> org.hibernate.hql.classic.ClassicQueryTranslatorFactory </property> <!-- //自动检查hql语句 end --> <mapping resource="com/asranch.hbm.xml" /> <mapping resource="com/User.hbm.xml" /> <mapping resource="com/anchCeck.hbm.xml" /> </session-factory> </hibernate-configuration>