<?xml version='1.0' encoding='UTF-8'?>
<!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="driverClassName"><value>com.microsoft.sqlserver.jdbc.SQLServerDriver</value></property>
    <property name="url"><value>jdbc:sqlserver://blrkiet0040srv:1433;databaseName=EDM</value></property>
    <property name="username"><value>sa_edm</value></property>
    <property name="password"><value>sa@EDM12345</value></property>

--> 


    <property name="connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
    <property name="connection.url">jdbc:sqlserver://blrkiet0040srv:1433;databaseName=EDM</property>
    <property name="connection.username">sa_edm</property>
    <property name="connection.password">sa@EDM12345</property>
       <property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property>
       
	    <property name="configurationClass">org.hibernate.cfg.AnnotationConfiguration</property>

	    

	
 <property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
    <!--  thread is the short name for
      org.hibernate.context.ThreadLocalSessionContext
      and let Hibernate bind the session automatically to the thread
    -->
    <property name="current_session_context_class">thread</property>
    <!-- this will show us all sql statements -->
    <property name="hibernate.show_sql">true</property>
	<!-- mapping files 
	<mapping resource="de/laliluna/example/Honey.hbm.xml" />-->
	

   <mapping class="com.sample.User" /> 
  	
</session-factory>
</hibernate-configuration>
