hibernate3+mssql2000+tomcat5.5.20的hibernate.cfg.xml
<?xml version='1.0' encoding='UTF-8'?> <!-- DO NOT EDIT: This is a generated file that is synchronized --> ??? <session-factory> ??????? <!-- mapping files --> ??? </session-factory> </hibernate-configuration>
posted on 2006-10-24 15:22 狼愛(ài)上貍 閱讀(375) 評(píng)論(0) 編輯 收藏 所屬分類: Hibernate
<!DOCTYPE hibernate-configuration PUBLIC
????????? "-//Hibernate/Hibernate Configuration DTD 2.0//EN"
????????? "
<!-- by MyEclipse Hibernate tool integration.?????????????????? -->
<hibernate-configuration>
??????? <!-- properties -->
??????? <property name="connection.username">username</property>
??????? <property name="connection.url">jdbc:microsoft:sqlserver://localhost:1433;databaseName=test</property>
??????? <property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
??????? <property name="connection.password">password</property>
??????? <property name="connection.driver_class">com.microsoft.jdbc.sqlserver.SQLServerDriver</property>
??????? <mapping resource="Train.hbm.xml"/>