maven « DAO « JPA Q&A





1. How to configure hibernate-tools with maven to generate hibernate.cfg.xml, *.hbm.xml, POJOs and DAOs    stackoverflow.com

can any one tell me how to force maven to precede mapping .hbm.xml files in the automatically generated hibernate.cfg.xml file with package path? My general idea is, I'd like to use hibernate-tools ...

2. Reverse-engineering tool for code generation of Hibernate annotated DTO/DAO classes    stackoverflow.com

I have the following questions concerning code generation for Hibernate annotated DTO/DAO-s:

  • Is it possible to use a reverse-engineering tool such as hibernatetool to generate DTO/DAO-s along with annotations (as opposed to ...

3. Need a code-generation tool for entities' DAO's    stackoverflow.com

I have lots of entities in a project and I need to make a data-access-object for every one of them. I think those DAO's will be stateless session beans, each having ...

4. Testing DAO layer using Maven + TestNG    forum.hibernate.org

Newbie Joined: Tue Jun 23, 2009 7:59 am Posts: 6 Hi, I'm trying to test some DAO objects using TestNG, I'm also using Maven. I have implemented a DAO layer as suggested in Java persistence with Hibernate (16.4.2 Writing DAOs with EJBs). I created a silly test just to get the things going. POM.xml Code: ... ...