<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hidehara</author_name>
  <author_url>https://blog.hatena.ne.jp/hidehara/</author_url>
  <blog_title>AWS / PHP / Python ちょいメモ</blog_title>
  <blog_url>https://hideharaaws.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>CakePHP2.x</anon>
    <anon>TIPS</anon>
  </categories>
  <description>CakePHP2.xでは、MySQLへのアクセスがPDO（PHP Data Objects)を利用しているため、PDO(mysql)のデフォルト設定の影響を受けて、この動作になるそうです。PHP5.3以上の環境だと「PDO::ATTR_EMULATE_PREPARES = false」などを行うことで、この動作を変更する事もできると紹介されてますので、必要な方は、次のリンク先を確認ください。 CakePHPのfind()で取得したデータが全てstring型になるのを、DBのカラムの型に合わせてint型で値を取得する方法(mysql) http://d.hatena.ne.jp/cakephpe…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhideharaaws.hatenablog.com%2Fentry%2F2014%2F02%2F19%2F230525&quot; title=&quot;CakePHP2.x で find() 取得したデーターのデフォルトはstring型 - AWS / PHP / Python ちょいメモ&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>2014-02-19 23:05:25</published>
  <title>CakePHP2.x で find() 取得したデーターのデフォルトはstring型</title>
  <type>rich</type>
  <url>https://hideharaaws.hatenablog.com/entry/2014/02/19/230525</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
