<session-factory name="HelloHibernate"> <property name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property> <property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property> <property name="hibernate.connection.url"> jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=dbhellohibernate;username=sa;password=admin </property> <!-- Mapping file --> <mapping resource="nguyenle/hello/Message.hbm.xml"/> </session-factory>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)