<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>RMS-099</author_name>
  <author_url>https://blog.hatena.ne.jp/RMS-099/</author_url>
  <blog_title>量産メモ帳</blog_title>
  <blog_url>https://rms-099.hatenablog.jp/</blog_url>
  <categories>
    <anon>JDBC</anon>
    <anon>JNDI</anon>
    <anon>Spring</anon>
    <anon>Seasar</anon>
  </categories>
  <description>ある人から DB へのアクセス方法を少し調べてもらうよう依頼された。 正直、DB アクセス周りの実装はしたことなかったけど、良い機会なので調べてみることに。まず Connection オブジェクトの取得方法はどうやら以下の2通り*1。 DriverManager DataSource このうち DriverManager よりも DataSource の方が推奨されているようなので、DataSource を使った方法をもう少し調べてみる。 DataSource を使った典型的な実装はおそらく以下のページにあるような感じだと思われる。 hellohiro.com この中でコネクションの取得とかの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frms-099.hatenablog.jp%2Fentry%2F20070713%2F1184266665&quot; title=&quot;Java のプログラムからの DB アクセスについて。 - 量産メモ帳&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>2007-07-13 03:57:45</published>
  <title>Java のプログラムからの DB アクセスについて。</title>
  <type>rich</type>
  <url>https://rms-099.hatenablog.jp/entry/20070713/1184266665</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
