Use the New JDBC Driver for MS SQL Server
August 16, 2009
8 comments
I’ve used MySQL with my example on my Hibernate posts but since we are using MS SQL Server 2000 in my class(I know, we should be upgrading to at least SQL Server 2005…) I thought I’d create an example using SQL Server.
So there I was reconstructing everything that I mentioned starting with Java Persistence with Hibernate Part 2 – Getting Started until I was done with my test class to see if everything works and that’s what I was expecting but I was wrong. Instead I got this error:
Exception in thread "main" java.lang.AbstractMethodError: com.microsoft.jdbc.base.BaseDatabaseMetaData.supportsGetGeneratedKeys()Z
Read more…
Categories: Hibernate, Java, JDBC
Hibernate, Java, JDBC, MS SQL Server, Object Relational Mapping, Persistence

Recent Comments