Hi, I have created a simple struts 2 appfuse application and added a Person entity to it (and used appfuse:gen, appfuse:install on that entity).
When I run: mvn -Pprod jetty:run-war, a test failure occurs on the PersonActionTest because of not finding the test data with negative ID values: [appfuseDemo] DEBUG [main] PersonActionTest.testEdit(35) | testing edit... [appfuseDemo] WARN [main] GenericDaoHibernate.get(60) | Uh oh, 'class appfuse.demo.model.Person' object with id '-1' not found... [appfuseDemo] INFO [main] PersonActionTest.endTransaction(290) | Rolled back transaction after test execution [appfuseDemo] INFO [main] PersonActionTest.startNewTransaction(323) | Began transaction (1): transaction manager [ [EMAIL PROTECTED]; default rollback = true [appfuseDemo] WARN [main] GenericDaoHibernate.get(60) | Uh oh, 'class appfuse.demo.model.Person' object with id '-1' not found... [appfuseDemo] INFO [main] PersonActionTest.endTransaction(290) | Rolled back transaction after test execution [appfuseDemo] INFO [main] PersonActionTest.startNewTransaction(323) | Began transaction (1): transaction manager [ [EMAIL PROTECTED]; default rollback = true [appfuseDemo] WARN [main] GenericDaoHibernate.get(60) | Uh oh, 'class appfuse.demo.model.Person' object with id '-2' not found... [appfuseDemo] INFO [main] PersonActionTest.endTransaction(290) | Rolled back transaction after test execution Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.016 sec <<< FAILURE! Results : Tests in error: testEdit(appfuse.demo.webapp.action.PersonActionTest) testSave(appfuse.demo.webapp.action.PersonActionTest) testRemove(appfuse.demo.webapp.action.PersonActionTest) Tests run: 5, Failures: 0, Errors: 3, Skipped: 0 And the reason of course is being that the PersonActionTest relies on the negative values for IDs to test on. So my question is whether there is a way to get a production database propopulated without having to run the tests, or whether therre is any workaround for this issue. Thanks, Laith