<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a4dosanddos</author_name>
  <author_url>https://blog.hatena.ne.jp/a4dosanddos/</author_url>
  <blog_title>プログラム日記</blog_title>
  <blog_url>https://a4dosanddos.hatenablog.com/</blog_url>
  <categories>
    <anon>Spring</anon>
  </categories>
  <description>Spring 3 系で JdbcTemplate 使って DB アクセスするサンプル書いてみたので、メモしておきます。今回、データベースには PostgreSQL を使いました。以下のようなテーブルを用意しておきます。 testdb=# select * from t1; id | name ----+------ 1 | hoge 2 | uga Bean 定義ファイル ( dataSource.xml ) と コード ( Main.java ) を作成します。それぞれ内容は以下の通りです。■ dataSource.xml &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa4dosanddos.hatenablog.com%2Fentry%2F2015%2F03%2F18%2F171226&quot; title=&quot; 「Spring」JdbcTemplate でデータベースにアクセスする - プログラム日記&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-03-18 17:12:26</published>
  <title> 「Spring」JdbcTemplate でデータベースにアクセスする</title>
  <type>rich</type>
  <url>https://a4dosanddos.hatenablog.com/entry/2015/03/18/171226</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
