void generateSchema(
PersistenceUnitInfo info,
Map<?,?> map
)
Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties.
Called by the container when schema generation is to occur as a separate phase from creation of the entity manager factory.
- Parameters:
info- metadata for use by the persistence providermap- properties for schema generation; these may also include provider-specific properties
- Throws:
- PersistenceException - if insufficient or inconsistent configuration information is provided of if schema generation otherwise fails
- Since:
- JPA 2.1