MySQL连接器/ J 5.1发行说明/MySQL Connector / J 3.1中的更改/MySQL Connector / J 3.1.13(2006-05-26)的变化

MySQL Connector / J 3.1.13(2006-05-26)的变化

错误固定

  • 修复了PreparedStatement.setObject(int,对象,int)不尊重大型成绩。(bug#19615)

  • 修复了返回的无效类名resultsetmetadata.getColumnClassName()为了BIGINT类型。(bug#19282)

  • 固定情况在获取服务器端编写的语句行时,驱动程序未正确读取服务器状态,在某些情况下可能导致警告计数为OFF,或者将多个结果集或未读取电线。(bug#19282)

  • 固定的ResultSet.wasNull()从服务器端准备的语句生成的结果集中提取本机字符串时返回错误的值。(bug#19282)

  • 固定的data truncation andgetWarnings()只返回设置的最后一次警告。(bug#18740)

  • 固定的aliased column names where length of name > 251 are corrupted. (Bug #18554)

  • 提高了检索性能BigDecimal时间时间戳andDate通过创建更少的短期实例,从服务器端准备的陈述的值when the native type is not an exact match for the requested type. (Bug #18496)

  • 修复了服务器端准备语句不会导致截断时触发异常的问题。(bug#18041)

  • 添加了性能功能,重新编写批量执行Statement.executeBatch()(对于所有DML陈述)和preparedstatement.executebatch()(仅适用于有价值条款)。通过在JDBC URL中使用“RewriteBatchedStatements = true”启用。(bug#18041)

  • 固定的callableestatement.registeroutparameter()not working when some parameters pre-populated. Still waiting for feedback from JDBC experts group to determine what correct parameter count fromgetMetaData()但是,应该是。(bug#17898)

  • 将“Latin1”在MySQL Server上的“Latin1”为MySQL> 4.1.0的CP1252。(bug#17587)

  • 修复了呼叫ClearParameters()在封闭式准备的陈述导致NPE。(bug#17587)

  • Added additional accessor and mutator methods on ConnectionProperties so that DataSource users can use same naming as regular URL properties. (Bug #17587)

  • 固定的ResultSet.wasNull()使用转换为服务器端准备的语句完成时,并不总是重置Booleans。(bug#17450)

  • 固定的statement.getGeneratedKeys()throws空指针异常未处理未查询时。(bug#17099)

  • 固定的可更新的结果集不返回AUTO_INCREMENT价值insertrow()when multiple column primary keys are used. (the driver was checking for the existence of single-column primary keys and an autoincrement value > 0 instead of a straightforwardisautoincrement()查看)。(bug#16841)

  • dbmd.getColumns()返回错误的类型少量。(Bug #15854)

  • lib-nodist.封装中缺少的目录突破了盒子外构建。(bug#15676)

  • 修复了问题ReplicationConnection在同一只读状态之间转换时,复制状态不正确的状态,不会正确传输连接上下文。(Bug#15570)

  • 在MySQL> 4.1.0中没有“DOS”字符集。(bug#15544)

  • 在OUT参数不存储价值。(bug#15464)

  • prepardstatement.setObject()serializes彩奖作为对象,而不是作为数值发送(因此不是互补.getObject()在AN.毫无符号类型)。(bug#15383)

  • 修复了驱动程序无法初始化字符集映射表的问题。依赖依赖。特性要保存此信息的文件,因为它向类加载程序层次结构围绕类别的代码进行了太问题,这会根据部署应用程序而更改。将信息传回到CharsetMapping班级。(bug#14938)

  • 使用可更新结果集时为新的十进制类型抛出异常。(bug#14609)

  • 司机现在意识到修复少量输入MySQL-5.0.21的MEDATA,用于服务器未始终如一地报告长度。(bug#13601)

  • LogFactory现在是Breakends.com.mysql.jdbc.log.log.如果无法找到原样,则日志类名则为日志类名。这使您可以使用短名字为了the built-in log factories, for example,logger = communslogger.代替logger = com.mysql.jdbc.log.commonslogger.。(bug#13469)

  • 修复了试图调用较旧版本的log4j上不存在的方法的司机。修复程序不是在尝试自动检测log4j的存在,在野外中有太多不同的不兼容版本来可靠地执行此操作。

    If you relied on autodetection before, you will need to add "logger=com.mysql.jdbc.log.Log4JLogger" to your JDBC URL to enable Log4J usage, or alternatively use the new "CommonsLogger" class to take care of this. (Bug #13469)

  • 添加了对Apache Commons日志记录的支持,使用“com.mysql.jdbc.log.commonslogger”作为“记录器”配置属性的值。(bug#13469)

  • ResultSet.getShort()为了UNSIGNED TINYINT返回错误的值。(bug#11874)