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:mysql://localhost/HospitalOnlineSystem
 		</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/Hospital.hbm.xml" />
 		<mapping resource="com/ccit/model/News.hbm.xml" />
 		<mapping resource="com/ccit/model/BedOrder.hbm.xml" />
 		<mapping resource="com/ccit/model/Department.hbm.xml" />
 		<mapping resource="com/ccit/model/DepartmentBed.hbm.xml" />
 		<mapping resource="com/ccit/model/DeviceCheck.hbm.xml" />
 		<mapping resource="com/ccit/model/DoctorOrder.hbm.xml" />
 		<mapping resource="com/ccit/model/MedicineOrder.hbm.xml" />
 		<mapping resource="com/ccit/model/SurgeryOrder.hbm.xml" />
 		<mapping resource="com/ccit/model/Car.hbm.xml" />
 		<mapping resource="com/ccit/model/Document.hbm.xml" />
 
	</session-factory>
</hibernate-configuration>
 

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

AI 解读 AI

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

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