WebRoot/WEB-INF/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.url">
			jdbc:mysql://localhost/ClothingMultipleShop
		</property>
		<property name="hibernate.connection.driver_class">
			com.mysql.jdbc.Driver
		</property>
		<property name="hibernate.connection.username">root</property>
		<property name="hibernate.connection.password">root</property>
		<property name="hibernate.dialect">
			org.hibernate.dialect.MySQLDialect
		</property>
		<property name="hibernate.show_sql">true</property>
		<property name="hibernate.current_session_context_class">
			thread
		</property>
		<property name="connection.useUnicode">true</property>
		<property name="connection.characterEncoding">UTF-8</property>

		<mapping resource="com/ccit/model/User.hbm.xml" />
		<mapping resource="com/ccit/model/Department.hbm.xml" />
		<mapping resource="com/ccit/model/News.hbm.xml" />
		<mapping resource="com/ccit/model/Type.hbm.xml" />
		<mapping resource="com/ccit/model/Goods.hbm.xml" />
		<mapping resource="com/ccit/model/InGoods.hbm.xml" />
		<mapping resource="com/ccit/model/Client.hbm.xml" />
		<mapping resource="com/ccit/model/Provider.hbm.xml" />
		<mapping resource="com/ccit/model/Procure.hbm.xml" />
		<mapping resource="com/ccit/model/SellProduct.hbm.xml" />
	</session-factory>
</hibernate-configuration>

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

AI 解读 AI

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

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