In my application I want to connect SQL Server Express with Hibernate. But I don’t know what is the jar file I need to download and where I get this jar file.
When I run my application without adding jar file then it is throwing error which is:
org.hibernate.HibernateException: JDBC Driver class not found: net.sourceforge.jtds.jdbc.Driver
You need the JDBC driver for SQL Server downloadable here. Out of the three “download” buttons there, choose the last one for UNIX (Linux etc.) like OSes, or the middle one if your Hibernate runs on Windows.
Run or decompress; or tag your question with the appropriate OS if you don’t know how.