<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hsyd</author_name>
  <author_url>https://blog.hatena.ne.jp/hsyd/</author_url>
  <blog_title>revamping</blog_title>
  <blog_url>https://hsyd.hatenadiary.org/</blog_url>
  <categories>
    <anon>mongodb</anon>
    <anon>java</anon>
  </categories>
  <description>mungbeanはPOJOに何も手を加えなくても保存できそうで良かったのですが、残念ながら現状では複数のPOJOを一度に扱うことができないようです。&quot;Third Party Frameworks and Libs&quot;に戻って、mungbeanと同じくPOJO Mappersカテゴリであるmorphiaというライブラリを試してみました。 morphiaの場合、POJOをMongoDBに保存する為にannotation等を追加する必要があります。*1 persistenceの起点となるFooに対して、@Entityと@Id、そしてObjectIdプロパティを追加しました。 何とかannotation…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhsyd.hatenadiary.org%2Fentry%2F20110505%2F1304610182&quot; title=&quot; MongoDBとmorphia - revamping&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>2011-05-05 00:43:02</published>
  <title> MongoDBとmorphia</title>
  <type>rich</type>
  <url>https://hsyd.hatenadiary.org/entry/20110505/1304610182</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
