Please ensure that your jar package files have been placed in the lib directory of the web server container.
How to fix issue in prepapred statement on jdbc driver 12.6.1 jre11
Dhamodharan M
0
Reputation points
Recently we have upgrade the SQL JDBC driver from version 4 to version 12.6.2 jre11 as we upgraded to 2022 SQL server. After changing the driver we are facing issue in prepared statement. The same code with 12.6.2 jre8 and java8 returning results . But with java 11 the driver 12.6.2 jre11 is not working .Its returning null at this line "statement = dbConnection.prepareStatement(sql);"
1 answer
Sort by: Most helpful
-
MikeyQiao-MSFT 650 Reputation points Microsoft Vendor
2024-05-11T06:05:22.1633333+00:00