Have you followed the steps in the tutorial re setting up your project to
use JPA?(http://www.appfuse.org/display/APF/Using+JPA#UsingJPA-setup). It
mentions you need to change the Hibernate 3 plugin to use JPA - from
the trace below it looks like this has not been done?

Mike

On 10/16/07, Joachim Ansorg <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm a new user of appfuse 2.0 and enjoy it so far. I love the
> integration of all the parts into one usable piece of software.
>
> Currently I'm a bit overwhelmed by all the configuration options and
> parts of appfuse 2.0.
> The handbook says that I could use
>    mvn hibernate3:hbm2ddl dbunit:operation
>
> to populate the database.
>
> But since I use JPA this command fails:
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] No hibernate.cfg.xml configuration provided. Annotated
> classes/packages is only configurable via hibernate.cfg.xml
> [INFO]
> ------------------------------------------------------------------------
>
> How do I populate the DB with JPA?
> I also think that the tests overwrite the changes to the db I did in the
> (appfuse default) web application. Is that right? How can I avoid this?
>
> Thanks a lot for any help!
> Joachim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to