Probleme in connection between hibernate and sqlserver 2005
===

`enter code here`I wanna to connect my java project to sql server 2005 database, but unfortunately i m getting some problemes..
I am using Windows Authentification ( my pc name is BOURKADIXP without password) and here is my hibernate.cfg:

   

     <?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="hibernate.connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
            <property name="hibernate.connection.password">azerty</property>
            <property name="hibernate.connection.url">jdbc:jtds:sqlserver://127.0.0.1/DBM6000</property>
            <property name="hibernate.connection.username">sa</property>
            <property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property>
        </session-factory>
    </hibernate-configuration>

and here is the exceptin that i had:

   

     org.hibernate.exception.JDBCConnectionException: Getting database metadata
    Getting database metadata
      java.sql.SQLException: Network error IOException: Connection refused: connect
      Network error IOException: Connection refused: connect
        java.sql.SQLException: Network error IOException: Connection refused: connect
        Network error IOException: Connection refused: connect
        java.net.ConnectException: Connection refused: connect
        Connection refused: connect

Thanks for help
