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
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
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
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
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
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
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
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
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