persistence@glassfish.java.net

Re: eclipselink.ddl-generation

From: Raja Perumal <Raja.Perumal_at_Sun.COM>
Date: Wed, 28 May 2008 17:43:27 +0530

Thanks Guy! With following properties, eclipselink generates DDLs in
the specified location.

    eclipselink.ddl-generation=create-tables
    eclipselink.create-ddl-jdbc-file-name=myDDL.jdbc
    eclipselink.application-location=/raja
    eclipselink.ddl-generation.output-mode=sql-script


Guy Pelletier wrote:
> Raja,
>
> Try adding the following property:
>
> <property name="eclipselink.ddl-generation.output-mode"
> value="sql-script"/>
>
> Cheers,
> Guy
>
> ----- Original Message ----- From: "Raja Perumal" <Raja.Perumal_at_Sun.COM>
> To: <persistence_at_glassfish.dev.java.net>
> Sent: Wednesday, May 28, 2008 6:20 AM
> Subject: eclipselink.ddl-generation
>
>
>> Hi,
>> I'm using eclipselink, I want to look at the generated DDL,
>>
>> I use the following properties
>> eclipselink.ddl-generation=create-tables
>> eclipselink.create-ddl-jdbc-file-name=myDDL.txt
>> eclipselink.application-location=/raja
>>
>> But I don't see the generated DDLs in the specified file. Is there
>> any other property that I should configure ?
>>
>> Thanks,
>> Raja
>>
>>
>>
>