这是我的配置文件:hibernate.cfg.xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
          "-//Hibernate/Hibernate Configuration DTD 2.0//EN"
          "http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd"><!-- Generated by MyEclipse Hibernate Tools.                   -->
<hibernate-configuration><session-factory>
<property name="myeclipse.connection.profile">sql2000</property>
<property name="connection.url">
jdbc:JTurbo://192.168.2.117:1433/wzichstudy/charset=gb2312
</property>
<property name="connection.username">sa</property>
<property name="connection.password">123</property>
<property name="connection.driver_class">
com.newatlanta.jturbo.driver.Driver
</property>
<property name="dialect">net.sf.hibernate.dialect.SQLServerDialect</property> <mapping resource="Add valid path" />
<mapping resource="com/wzich/Hibernate/User.hbm.xml"></mapping>
<mapping resource="com/wzich/Hibernate/Sort.hbm.xml" /></session-factory></hibernate-configuration>
请各位大哥指正