Currently, the {{SchemaDefiner}} contract is implicitly invoked during bootstrap. Instead, we should consider the setting given for the "hbm2ddl" option and initialize/drop the schema accordingly.
In addition, JPA 2.1's {{Persistence#generateSchema()}} operation should be supported.
This will require to add a {{dropSchema()}} method to {{SchemaDefiner}}.
Also the property {{OgmProperties#CREATE_DATABASE}} seems obsolete once we support hbm2ddl.
|