Is there a way to rectify this while still using this version of Hibernate?
Is there a new version of hibernate which supports SQLServer 2005?
Hibernate version: 2.1.7c
Mapping documents: Code:
<property name="systemRole" type="boolean" column="SystemRole" not-null="true"/>
Code between sessionFactory.openSession() and session.close():Code:
session.replicate(role, ReplicationMode.OVERWRITE);
Full stack trace of any exception that occurs:Code:
13:21:27,640 DEBUG net.sf.hibernate.SQL: - insert into SVD_ROLE (RoleName, Description, SystemRole, RoleId) values (?, ?, ?, ?)
13:21:27,718 ERROR net.sf.hibernate.util.JDBCExceptionReporter: - The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 3 (""): Data type 0x32 is unknown.
13:21:27,734 ERROR net.sf.hibernate.impl.SessionImpl: - Could not synchronize database state with session
Name and version of the database you are using:SQL Server 2005 (preview)