Hi Marina,
I'll make sure the web page gets update to reflect the code.
Our preference may be to eventually change the default mode, but we
can deal with that as an enhancement request some time down the road.
-Tom
Marina Vatkina wrote:
>Hi Peter,
>
>The TopLink JAP extentions page defines the default DDL generation mode as both:
>http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html#Java2DBSchemaGen
>
>But the code in the EntityManagerFactoryProvider has anothe default:
>public static final String DEFAULT_DDL_GENERATION_MODE = DDL_SQL_SCRIPT_GENERATION;
>
>String ddlGenerationMode = (String)
>getConfigPropertyAsString(DDL_GENERATION_MODE, props, DEFAULT_DDL_GENERATION_MODE);
>
>Which one is right?
>
>thanks,
>-marina
>
>