[ https://issues.apache.org/jira/browse/JAMES-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Charles closed JAMES-1142. ------------------------------- Resolution: Fixed This can not be configured on openjpa level. As workaround, the needed entitymanager instanciation are added (mailbox, user, domain). OpenJPA doc states "OpenJPA will run the mapping tool on these classes when your application obtains its first EntityManager." At first startup, james will take a little more time to create the needed tables (only at first startup). Committed in trunk. JIRA can be closed. > Configure OpenJPA to create the database tables on server startup > ----------------------------------------------------------------- > > Key: JAMES-1142 > URL: https://issues.apache.org/jira/browse/JAMES-1142 > Project: JAMES Server > Issue Type: Improvement > Components: Deployment Modules > Affects Versions: 3.0-M2 > Reporter: Eric Charles > Fix For: 3.0-M3 > > > Currently, we need a database access to have the tables created. > The tables should get created automatically on server startup even without > user interaction. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org