| Joined: Tue Mar 04, 2008 9:08 am
 Posts: 4
 | 
				
					| Hi,
 I am new to hibernate. I tried to work out a simple program which could insert the data into the database using hibernate technology .I use SQL Server Database.
 But When i run the program i am getting the following issue
 
 "cannot open connection"
 
 session-factory>
 <property name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
 <property name="hibernate.connection.url">jdbc:sqlserver://maachd3m1s/gayathri</property>
 <property name="hibernate.connection.username">tester</property>
 <property name="hibernate.connection.password">tester123</property>
 <property name="hibernate.connection.pool_size">10</property>
 <property name="show_sql">true</property>
 <property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
 <property name="hibernate.hbm2ddl.auto">update</property>
 
 I have done the above changes to suit the SQL server database in the hibernate.cfg.xml
 Could any one help me to resolve this issue.
 
 Many thanks in advance
 
 thanks
 gayathri
 
 
 |  |