Thanks for reply.
I tried with both options like true and false with hibernate.jdbc.use_scrollable_resultsets and seen same memory issue.
I am using sqljdbc4.jar compiled on jdk 1.4 (and tried with latest jar also.), hibernate version is 3.0
Following are hibernate version details from hibernate3.jar
Code:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.4.2_09-b05 (Sun Microsystems Inc.)
Hibernate-Version: 3.1.3
I tried with SQLServer2005Dialect, but its giving following error:org.hibernate.HibernateException: Dialect class not found: org.hibernate.dialect.SQLServer2005Dialect
I will checkout supportive hibernate version for SQLServer2005Dialect and will see whether this helps me or not.