|
Re: eclipselink.ddl-generation - best practice [message #650408 is a reply to message #650255] |
Mon, 24 January 2011 18:10 |
|
You could leave it to "create-tables" or even "drop-and-create-tables" during development if your model is frequently changing.
During production I would turn if off and either switch to maintaining the tables with a script, or run it once to generate the production schema. Normally a production schema would be maintained by a DBA.
But it depends on your application. If your application can be downloaded and installed by many different users, then it may make sense to leave DDL generation on to avoid the user having to create the database. A few failed exceptions at startup should not have a big impact.
James : Wiki : Book : Blog : Twitter
|
|
|
|
Powered by
FUDForum. Page generated in 0.02893 seconds