Community
Participate
Working Groups
Using an EclipseLink JPA project, right-click and choose 'JPA Tools' -> 'Generate Tables from Entities'. Choose 'Sql-script' or 'Both' as the Generation output mode. After the generation is completed refresh the project. You *should* see the files createDDL.sql and dropDDL.sql, but they are not there.
Created attachment 206685 [details] proposed patch against 3.0 maintenance I have checked this into HEAD and tested by exporting this to the org.eclipse.jpt.jpa.eclipselink.core.ddlgen*.jar in my target workspace. The createDDL.sql and dropDDL.sql files are only generated when 'sql-script' or 'both' is chosen as the generation output mode. They should not be deleted whether in debug mode or not. They are not generated if the output mode is 'database'
fixed for 3.0.2
Verified in Build M-3.3.2-20120113193226 Verified when you Generate Tables from Entities... and select Sql-script or Both and Refresh the createDDL.sql and dropDDL.sql files appear in the project. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.2