Community
Participate
Working Groups
The following constants in the class PersistenceUnitProperties are missing JavaDoc: CREATE_ONLY, DROP_AND_CREATE, NONE, APP_LOCATION, CREATE_JDBC_DDL_FILE, DROP_JDBC_DDL_FILE, DEFAULT_APP_LOCATION, DEFAULT_CREATE_JDBC_FILE_NAME, DEFAULT_DROP_JDBC_FILE_NAME, JAVASE_DB_INTERACTION, DDL_SQL_SCRIPT_GENERATION, DDL_DATABASE_GENERATION, DDL_BOTH_GENERATION, DEFAULT_DDL_GENERATION_MODE. Moreover, the class should have a private (default) constructor to prevent instantiation.
Setting target and priority. See the following page for details of the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
Created attachment 189629 [details] Proposed JavaDoc and Constructor changes to PersistenceUnitProperties
Looks good to me and will be quite helpful. I have two two minor comments: APP_LOCATION: "root of the working directory" -> shouldn't it rather be "the working directory"? For all parameter values CREATE_ONLY, ...: I think it should rather read "The parameter value <code>"create-tables"</code>" or just "The value <code>"create-tables"</code>" (The property "eclipselink.ddl-generation" has a parameter, which may have the value "create-tables").
Created attachment 189718 [details] Proposed JavaDoc changes to PersistenceUnitProperties (V2) Updated changes based on community feedback: (v2) - remove private default constructor, to be consistent with existing classes using this pattern - reword JavaDoc comments, and add additional consistency between properties and property values
Changes checked into trunk (2.3) at revision 9032
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink