おいらはここ数年 Spring Framework と HibernateEntityManager 環境で開発をすることが多いのですが、動けばいいやー的な方向に流されてるような気がする今日この頃です。 ということで、Spring+HibernateEntityManager 環境について、ステップ・バイ・ステップで確認していこうと思います。 概要 HibernateEntityManager を超ベタに使うサンプルです。 一応基本ということで (^^; 例題 エンティティ A を保存します。 ソース エンティティ A 最低限の情報を持つエンティティです。Simple is Best ということで。 package sample; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import