Object « DAO « JPA Q&A





1. Object_$$_javassist_6 returned by my dao    forum.hibernate.org

Newbie Joined: Mon Mar 08, 2010 3:44 am Posts: 8 Hello. I'm trying to get a register from my database from a table and it returns an object with all it's fields null and a new field "handler" that contains a JavassistLazyInitializer and inside other field named "target" that contains all the data's from this register. It's the first time it ...

2. DAO Objects    forum.hibernate.org

I have posted this several times, but couldn't get an answer. Could any one please throw some light on this? If I pass an object to Session and save it, internally, the Hibernate API gets 1) class name of the object 2) then insert the data to DB Instead of having a class defined for the above purpose, can I have ...

3. DAO Objects    forum.hibernate.org

4. Do we really need DAO layer when using Hibenrate objects    forum.hibernate.org

I agree. I think the DAO pattern can be an unnecessary layer to your application when using Hibernate or other ORM tool. If your in a J2EE environment, your SessionBean can act as a DAO layer. Hell, some JEE 5 examples do exacly that. However, it can be useful if you think you could be changing persistence architechures and the means ...