[appfuse-user] Can only use FQN in a getHibernateTemplat().find()

2010-05-11 Thread Gu Gu
Hi, My app is: Appfuse 2.1.0-M1 Hibernate and Struts 2 I followed the tutorial , created an interface and implemented it accordingly. I've properly added my model object (CableSystem) in hibernate.cfg.xml (under /main/resources). The problem is when

Re: [appfuse-user] Can only use FQN in a getHibernateTemplat().find()

2010-05-11 Thread Matt Raible
In the past, I've fixed the FQ class name problem by changing @Entity(name="person") to @Entity. The name specified in this annotations creates an alias for HQL. Hope this helps, Matt On May 11, 2010, at 3:19 AM, Gu Gu wrote: > Hi, > > My app is: > Appfuse 2.1.0-M1 > Hibernate and Struts 2 >

[appfuse-user] appfuse:full-source does not work at m2-snapshot

2010-05-11 Thread johnydz
C:\Users\John\myproject>mvn appfuse:full-source [INFO] Scanning for projects... [INFO] [INFO] Building AppFuse JSF Application [INFO]task-segment: [appfuse:full-source] [INFO] -

Re: [appfuse-user] appfuse:full-source does not work at m2-snapshot

2010-05-11 Thread Matt Raible
Did you do this shortly after creating your project or did you make modifications first? Is defined correctly in your pom.xml? On Tue, May 11, 2010 at 12:37 PM, johnydz wrote: > > C:\Users\John\myproject>mvn appfuse:full-source > [INFO] Scanning for projects... > [INFO] > ---

[appfuse-user] Re: appfuse:full-source does not work at m2-snapshot

2010-05-11 Thread johnydz
I just run"mvn archetype:generate " It's successful, then,into Myproject ,run "mvn appfuse:full-source" ,then , showing those wrong message. but,If I do these step on 2.10-M1, It didnot show wrong message,It's only M2's problem. -- View this message in context: http://appfuse.547863.n4.na

[appfuse-user] Re: appfuse:full-source does not work at m2-snapshot

2010-05-11 Thread johnydz
Weird It was fixed [ maven embedder INFO] snapshot org.appfuse:appfuse-web-common:2.1.0-M2-SNAPSHOT : checking for updates from appfuse-snapshots [INFO] [AppFuse] Updated dependencies in pom.xml... [INFO] [AppFuse] Renaming packages to 'com.mycompany'... [info] [AppFuse] Refactored all 'org.