I've specified two model POJOs that I would like to run appfuse:gen
on. They are associated with each other through a @ManyToOne and
corresponding mappedBy @OneToMany.

When I run mvn appfuse:gen I get a fatal error (after entering entity name):

[INFO] mappedBy reference an unknown target entity property: ...

I get this both in AppFuse 2.0.2 as well as 2.0.1 (I got the
SAXNotRecognizedException error, so I reverted back to 2.0.1 to get
rid of that).

The mapping gets added to the hibernate.cfg.xml file (I only have two
of these in the src directory, one in main and one in test).

Is it not possible to use appfuse:gen on POJOs with associations, or
is it possible to solve this in any other way?

Thanks in advance for any replies.

Best regard,
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to