<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takahashikzn</author_name>
  <author_url>https://blog.hatena.ne.jp/takahashikzn/</author_url>
  <blog_title>R42日記</blog_title>
  <blog_url>https://takahashikzn.root42.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>ちょっと前にConnector/Jが1.3.0にアップデートされたのですが、とたんにTINYINT(1)のカラムの値を正しく取得できなくなりました。 MySQLはBOOLEANをTINYINT(1)の別名として扱います。アプリケーションから見たらこのカラムはBoolean型です。 で、Connector/Jのソースを追っかけて行った所、ドライバ側のバグだろうという結論に。 org.mariadb.jdbc.internal.queryresults.MariaDBValueObjectのgetObjectメソッドが怪しいです。以下抜粋。 public Object getObject(int …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakahashikzn.root42.jp%2Fentry%2F2015%2F11%2F23%2F213906&quot; title=&quot; MariaDB Connector/Jの1.3.0以降でBOOLEANのカラムが常にtrueになるバグ？ - R42日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-11-23 21:39:06</published>
  <title> MariaDB Connector/Jの1.3.0以降でBOOLEANのカラムが常にtrueになるバグ？</title>
  <type>rich</type>
  <url>https://takahashikzn.root42.jp/entry/2015/11/23/213906</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
