Thanks Matt..

 
  
    
Sudhir NimavatSenior software engineer. 
Quick start global PVT LTD.
Baroda - 390007
Gujarat, India

Personally I'm always ready to learn, although I do not always like being taught
  




________________________________
From: Matt Raible <[email protected]>
To: [email protected]
Sent: Mon, 2 November, 2009 6:49:00 AM
Subject: Re: [appfuse-user] mvn appfuse:gen -Dentity=Name does not generate Dao 
and Manager

The default behavior is to not generate Manager and DAO classes since the 
Generic implementations can be used and you only need to create bean 
definitions. If you don't like this behavior, change the "appfuse.genericCore" 
property to false in your pom.xml, or generate with this command. For example, 
"mvn appfuse:gen -Dentity=UserProfile -Dappfuse.genericCore=false".

Matt


On Nov 1, 2009, at 12:27 PM, || Sudhir Nimavat || wrote:

I have created a Spring MVC modular project and a very simple entity 
(UserProfile) with just one field.
>
>Now I am trying to generate CRUD for UserProfile (Actually trying my first 
>demo with appfuse) However when I run mvn appfuse:gen -Dentity=UserProfile It 
>does not generate any DAO or Manager.. it does modify hibernate.cfg.xml, 
>generate Controller, modify application context.
>
>I ran mvn gen from both core and web.
>
>If I look at generated UserProfileController it uses GenericManager instead of 
>UserProfileManage.. does that mean mvn gen does not generate dao or 
>controllers and depends on Generic one.. !
>
>
>Thanks
>
>
> 
> 
>  
>Sudhir NimavatSenior software engineer. 
>Quick start global PVT LTD.
>Baroda - 390007
>Gujarat, India
>
>Personally I'm always ready to learn, although I do not always like being 
>taught
> 
>
>
>________________________________
>From cricket scores to your friends. Try the Yahoo! India Homepage!



      Try the new Yahoo! India Homepage. Click here. http://in.yahoo.com/trynew

Reply via email to