khaleeque wrote:
Hi
dears I want to use Hibernate with MS SQL server 2005 please help me by providing help full material or any example or demo regarding to this.
Thanks to All
You can find the tutorial form
http://docs.jboss.org/hibernate/stable/core/reference/en/html/tutorial.htmlWhat you need is,
Code:
1. download the jdbc driver at [url]http://sourceforge.net/projects/jtds/files/[/url]
2. change the connection driver class to net.sourceforge.jtds.jdbc.Driver ( <property name="connection.driver_class">...</property>)
3. change the connection url to jdbc:jtds:<server_type>://<server>[:<port>][/<database>] (<property name="connection.url">...</property>)
4. change the hibernate dialect to org.hibernate.dialect.SQLServerDialect