src/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:sqlserver://localhost:1433;DatabaseName=GJCSystem
 		</property>
 		<property name="hibernate.connection.driver_class">
 			com.microsoft.sqlserver.jdbc.SQLServerDriver
 		</property>
 		<property name="hibernate.connection.username">sa</property>
 		<property name="hibernate.connection.password">sa</property>
 		<property name="hibernate.dialect">
 			org.hibernate.dialect.SQLServerDialect
 		</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/News.hbm.xml" />
 		<mapping resource="com/ccit/model/Notice.hbm.xml" />
 		<mapping resource="com/ccit/model/Util_A.hbm.xml" />
 		<mapping resource="com/ccit/model/Util_B.hbm.xml" />
 		<mapping resource="com/ccit/model/Util_C.hbm.xml" />
 		<mapping resource="com/ccit/model/Util_D.hbm.xml" />
 
	</session-factory>
</hibernate-configuration>
 

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

AI 解读

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

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