persistence@glassfish.java.net

Re: Code changes for issue 454 - javaSE and create-tables option in javaSE case

From: Tom Ware <tom.ware_at_oracle.com>
Date: Thu, 23 Mar 2006 08:58:59 -0500

Hi Pramod,

  The changes look good. Please go ahead and check-in.

-Tom

Pramod Gopinath wrote:

>The related issue is
>https://glassfish.dev.java.net/issues/show_bug.cgi?id=454
>
>The change has been made to
>src/java/oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider.java
>
>In the case of javaSE, if the user has defined
>"toplink.ddl-generation=create-tables", we should just create the tables
>in the database. Currently we also do a drop of the tables.
>
>Another issue is that in the case of inside container (appserver
>environement) even if the user has defined
>"toplink.ddl-generation=create-tables", we still want to generate both
>the create as well as the drop files.
>
>I have attached the diffs and the source file.
>
>Thanks
>Pramod
>
>