Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NullPointerException after upgrading JDBC-driver from 6.4 to 7.0 #788
Driver version or jar name
SQL Server version
Client operating system
Windows 10 1709
Java HotSpot(TM) 64-Bit Server VM, Version 1.8.0_171-b1 (Oracle)
Caused by: java.lang.NullPointerException
There was a change in SQLServerClobBase.length with Version 7.0.
Expected behavior and actual behavior
NullPointerException should not be thrown.
Thank´s for your update!
(Full Stacktrace further down.)
I´ll try to build a sandbox-eclipse-project for this issue. (Hibernate without Spring) Would this help?
It uses gradle (build.gradle) to load dependencies. (hibernate and mssql-jdbc) Remove the mssql-jdbc-dependency to test against your own version of the jdbc-driver. Adapt persistence.xml to connect to your database.