Hi all ,
I am getting the following exception while trying to connect to MSSQL using jtds driver and hibernate .
java.sql.SQLException: Network error IOException: Connection refused: connect
The server name given to me is something like
ABC2345SD.DEF.COMPANY.COM\ABCD6543
database name = AAA
so what should be my connection url in the hibernate configuration file
<property name="connection.url"> </property>
thanks and regards,
ivin
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
[b]Hibernate version:[/b]
[b]Mapping documents:[/b]
[b]Code between sessionFactory.openSession() and session.close():[/b]
[b]Full stack trace of any exception that occurs:[/b]
[b]Name and version of the database you are using:[/b]
[b]The generated SQL (show_sql=true):[/b]
[b]Debug level Hibernate log excerpt:[/b]
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html