users@glassfish.java.net

Re: restart-domain executes eclipselink.ddl-generation setting

From: Mitesh Meswani <mitesh.meswani_at_oracle.com>
Date: Tue, 05 Feb 2013 14:06:09 -0800

Hi Bobby,

Are you using container managed EM/EMF or application managed? For the
former, ddl generation only happens at application deployment time on DAS

Thanks,
Mitesh
On 2/5/2013 2:02 PM, Bobby Bissett wrote:
> Hi all,
>
> I deployed an app with eclipselink.ddl-generation set to 'drop and
> create' to wipe out my data for some tests. When I restarted the
> server (without any redeploy) it wiped out my tables again.
>
> Is it normal that the table generation code runs on every server
> start? I thought it was only when deploying the app for some reason.
>
> Thanks,
> Bobby