Note that there are some explanatory texts on larger screens.

plurals
  1. POException in connection between Hibernate and SQL Server 2005
    primarykey
    data
    text
    <p>I want to connect my java project to SQL Server 2005 database, but unfortunately I'm getting some problems. I am using Windows Authentification (my pc name is BOURKADIXP without password) and here is my hibernate.cfg:</p> <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"&gt; &lt;hibernate-configuration&gt; &lt;session-factory&gt; &lt;property name="hibernate.connection.driver_class"&gt;net.sourceforge.jtds.jdbc.Driver&lt;/property&gt; &lt;property name="hibernate.connection.password"&gt;azerty&lt;/property&gt; &lt;property name="hibernate.connection.url"&gt;jdbc:jtds:sqlserver://127.0.0.1/DBM6000&lt;/property&gt; &lt;property name="hibernate.connection.username"&gt;sa&lt;/property&gt; &lt;property name="hibernate.dialect"&gt;org.hibernate.dialect.SQLServerDialect&lt;/property&gt; &lt;/session-factory&gt; &lt;/hibernate-configuration&gt; </code></pre> <p>and here is the exception that I had:</p> <pre><code> 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 </code></pre> <p>Thanks for help!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload