pb00067 wrote:
As I can remember the type bit was introduced with SQLServer2005, therefore it is declared in SQLServer2005Dialect.java.
Check this.
http://msdn.microsoft.com/en-us/library/aa258271(v=sql.80).aspx
Bit type was there in SQL Server 2000 as well.
I have checked hibernat 3.5.2's code and they do use Types.Bit
pb00067 wrote:
If you are using SQL Server 2000 you must refer SQLServerDialect (and not SQLServer2005Dialect),
so you should not get affected by HHH-6420 at all.
Yes i am using SQL Server 2000 but i didn't set any dialect.
I am letting Hibernate determine the dialect using StandardDialectResolver.
It figures out that i am using SQL Server 2000, sets the dialect to SQLServerDialect and fails.
If i explicitly set the dialect to SQLServer2005Dialect then it works but that's just a work around.