Search code examples
spring-roo

DAO generation using spring roo


I know that spring roo can generate the entity,and controller.But my requirement is to generate the DAO and Service layer or atleast DAO. Is there any way to generate Entity,Controller and DAO using spring-roo


Solution

  • I thought that there were no way to make DAOs but I stand corrected.

    In the recently released Roo 1.2 there is now the concept of JPA Repositories and a new Service element as detailed in the Spring blog.