Re: [appfuse-user] appfuse:gen-model anomaly...

2009-06-03 Thread Matt Raible
Here's the file that's causing the error: http://source.appfuse.org/browse/appfuse/trunk/plugins/appfuse-maven-plugin/src/main/resources/appfuse/model/Ejb3PropertyGetAnnotation.ftl?r=trunk It looks like join columns hasn't been implemented in the version of Hibernate Tools we're using. Unfortunat

Re: [appfuse-user] appfuse:gen-model anomaly...

2009-06-03 Thread jamp1
HI Matt, thank you for your quick response i dont have any pojo's i am trying to use "mvn appfuse:gen-model" it is trying to connect to my postgres database and i do have my tables defined with foreign key relation's properly (that means i guess one-to-many and many-to-many). but here pojo's are c

Re: [appfuse-user] appfuse:gen-model anomaly...

2009-06-03 Thread Matt Raible
Do you have any one-to-many or many-to-many relationships in your POJO. If so, comment them out and try again. On Wed, Jun 3, 2009 at 11:09 AM, jamp1 wrote: > > I am having same kind of issue > below is the stack trace > can you provide details on the fix. > > 09:54:03,747 ERROR freemarker.runti

Re: [appfuse-user] appfuse:gen-model anomaly...

2009-06-03 Thread jamp1
I am having same kind of issue below is the stack trace can you provide details on the fix. 09:54:03,747 ERROR freemarker.runtime - Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.gen erateJoinColumnsAnnotation(org.hibernate.mapping.Property,org.hibernate.cfg.Conf igu

Re: [appfuse-user] appfuse:gen-model anomaly...

2008-08-17 Thread stelios
I don't remember exactly to be honest...I'll try and have a look tomorrow at work. Bob Fleischman wrote: > > I am having this problem trying to reverse engineer a MySQL db with > foreign keys. How did you get this working? > > > stelios wrote: >> >> finally I got it working with Hibernate t

Re: [appfuse-user] appfuse:gen-model anomaly...

2008-08-17 Thread Bob Fleischman
I am having this problem trying to reverse engineer a MySQL db with foreign keys. How did you get this working? stelios wrote: > > finally I got it working with Hibernate tools. > I had some configuration errors. > Probably thats why appfuse:gen-model didn't work. > POJOs are generated fine

Re: [appfuse-user] appfuse:gen-model anomaly...

2008-06-18 Thread stelios
finally I got it working with Hibernate tools. I had some configuration errors. Probably thats why appfuse:gen-model didn't work. POJOs are generated fine now;) stelios wrote: > > well apparently the problem is the joined columns. The tables that fail > are those which have relationships de

Re: [appfuse-user] appfuse:gen-model anomaly...

2008-06-18 Thread stelios
well apparently the problem is the joined columns. The tables that fail are those which have relationships defined. Is there any known issue with that? stelios wrote: > > Hi, > > I've created a new Spring MVC Basic project. > Changed the DB in the pom.xml to an existing one > mvn compile,execu

[appfuse-user] appfuse:gen-model anomaly...

2008-06-18 Thread stelios
Hi, I've created a new Spring MVC Basic project. Changed the DB in the pom.xml to an existing one mvn compile,executes ok mvn appfuse:gen-model fails with following error: 10:43:33,984 ERROR freemarker.runtime - Method public java.lang.String org.hibernate.tool.hbm2x.pojo.EntityPOJOClass.gen er