<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
<property name="hibernate.connection.url">jdbc:sqlserver://localhost;databaseName=gwtrf</property>
<property name="hibernate.connection.username">sa</property>
<property name="hibernate.connection.password">root</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">create-drop</property> -->
<!-- Mapping files -->
<mapping resource="contact.hbm.xml"/>
</session-factory>
</hibernate-configuration>
3)mapping file:
<hibernate-mapping>
<class name="com.webreg.server.Event" table="sample">
<id name="id" type="long" column="ID" >
<generator class="assigned"/>
</id>
<property name="name">
<column name="NAME" />
</property>
</class>
----------------------------------------------------------------------------------------------------
Please tell me where i am done worng ,
i am using all related hibernate jars , gwt/rf jars. but i am tring to connect jdbc also giving same exception