
接缝处好像停留在2000年。这是驱动程序来源的一部分。
if (params != null && params.size() > 255 && connection.getPrepareSql() != TdsCore.UNPREPARED && procName != null) { int limit = 255; // SQL 6.5 and Sybase < 12.50 if (connection.getServerType() == Driver.SYbase) { if (connection.getDatabaseMajorVersion() > 12 || connection.getDatabaseMajorVersion() == 12 && connection.getDatabaseMinorVersion() >= 50) { limit = 2000; // Actually 2048 but allow some head room } } else { if (connection.getDatabaseMajorVersion() == 7) { limit = 1000; // Actually 1024 } else if (connection.getDatabaseMajorVersion() > 7) { limit = 2000; // Actually 2100 } } if (params.size() > limit) { throw new SQLException( Messages.get("error.parsesql.toomanyparams", Integer.toString(limit)), "22025"); }}这是一个博客,其中包含有关如何解决该问题的示例。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)