build/classes/hibernate.cfg.xml

(完整代码) 1KB

<!DOCTYPE hibernate-configuration PUBLIC
	"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
	"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
	<session-factory>
		<property name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
		<property name="hibernate.connection.url">jdbc:sqlserver://localhost:1433;databaseName=procuredb</property>
		<property name="hibernate.connection.username">sa</property>
		<property name="hibernate.connection.password">123</property>
		<property name="hibernate.show_sql">true</property>
		<property name="hibernate.format_sql">true</property>
		<!-- <property name="hbm2ddl.auto">update</property> -->
		<property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect </property>

        <mapping resource="com/oa/models/TUser.hbm.xml"/>
        <mapping resource="com/oa/models/TProduct.hbm.xml"/>
        <mapping resource="com/oa/models/TSupplier.hbm.xml"/>
        <mapping resource="com/oa/models/TOrder.hbm.xml"/>
        <mapping resource="com/oa/models/TPrice.hbm.xml"/>
        </session-factory>
</hibernate-configuration>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。