EntityMode « POJO « JPA Q&A





1. Why is the TwoPhaseLoad of EntityMode.Map faster than POJO ?    forum.hibernate.org

Hello, 1.) EntityMode.Map vs Pojo I am new to hibernate, doing this fun since 3 Month and learning a lot. Currently iam experimenting on loading and performance issues. A small test with hibernate debugging shows that the TwoPhaseLoad of EntityMode.POJO does much more association checks that EntityMode.MAP. - first I thought it must be the more efficient impl of HashSet in ...

2. Problems using EntityMode.POJO and EntityMode.MAP inside saa    forum.hibernate.org

Beginner Joined: Sun Feb 19, 2006 5:13 am Posts: 22 Hello, This is my second post on the same subject, maybe I was a bit unclear last time since I got no answer so I'll try again being a bit more specific. Ok, here we go... I have a POJO object called Category, which has child categories and a parent category. ...

3. mixing EntityMode.POJO and EntityMode.MAP    forum.hibernate.org

Hi, I have some Entities that are mapped to POJOs. And to each of them I have an Entity that I save with a session of type EntityMode.MAP that have a persistent relation to the corresponding POJO-mapped entity. Example: I have a class Person that is persisted via hibernate. Sometimes I want to create something I call PersonDetail which is persisted ...