- 浏览: 2101 次
- 性别:
- 来自: 杭州
最新评论
文章列表
Using annotations to persist java.util.Maps
转自:http://www.jroller.com/eyallupu/entry/using_annotations_to_persist_java
Mapping any kind of collections is quite simple, @OneToMany on the inverse side, @ManyToOne on the owning side and it works (usually). Maps are little bit more complicated, and les ...