采用什么方法推广网站,为什么wordpress样式无效,劳动节网页设计素材,免费域名申请教程起因#xff1a;今天发布程序#xff0c;本地测试没有问题但是部署到服务器上报#xff1a;驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS…起因今天发布程序本地测试没有问题但是部署到服务器上报驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]”这个错误 解决方式
dependencygroupIdnet.sourceforge.jtds/groupIdartifactIdjtds/artifactIdversion1.3.1/version
/dependency##数据库连接信息datasource:driver-class-name: net.sourceforge.jtds.jdbc.Driverurl: jdbc:jtds:sqlserver://127.0.0.1;DatabaseNameTEST;allowMultiQueriestrueuseAffectedRowstrueusername: testpassword: 111111更换jtds驱动以后出现一个问题就是长度过大的字段会返回一个对象且没有toString方法 返回“net.sourceforge.jtds.jdbc.ClobImplxxx” 解决方法添加useLOBsfalse就是不以对象形式取数
datasource:driver-class-name: net.sourceforge.jtds.jdbc.Driverurl: jdbc:jtds:sqlserver://127.0.0.1;DatabaseNameTEST;useLOBsfalse;allowMultiQueriestrueuseAffectedRowstrueusername: testpassword: 111111