Class JPAStandardSchemaGenerationProcessor
- java.lang.Object
-
- org.glassfish.persistence.jpa.schemageneration.JPAStandardSchemaGenerationProcessor
-
- All Implemented Interfaces:
SchemaGenerationProcessor
public class JPAStandardSchemaGenerationProcessor extends Object implements SchemaGenerationProcessor
Schema generation processor while using standard JPA based schema generation- Author:
- Mitesh Meswani
-
-
Constructor Summary
Constructors Constructor Description JPAStandardSchemaGenerationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteCreateDDL()Execute create DDL statementsMap<String,Object>getOverridesForSchemaGeneration()Map<String,Object>getOverridesForSuppressingSchemaGeneration()voidinit(com.sun.enterprise.deployment.PersistenceUnitDescriptor pud, org.glassfish.api.deployment.DeploymentContext deploymentContext)initialize the processorbooleanisContainerDDLExecutionRequired()
-
-
-
Method Detail
-
init
public void init(com.sun.enterprise.deployment.PersistenceUnitDescriptor pud, org.glassfish.api.deployment.DeploymentContext deploymentContext)Description copied from interface:SchemaGenerationProcessorinitialize the processor- Specified by:
initin interfaceSchemaGenerationProcessor
-
getOverridesForSchemaGeneration
public Map<String,Object> getOverridesForSchemaGeneration()
- Specified by:
getOverridesForSchemaGenerationin interfaceSchemaGenerationProcessor- Returns:
- overrides that will be supplied to EMF creation for schema generation
-
getOverridesForSuppressingSchemaGeneration
public Map<String,Object> getOverridesForSuppressingSchemaGeneration()
- Specified by:
getOverridesForSuppressingSchemaGenerationin interfaceSchemaGenerationProcessor- Returns:
- overrides that will be supplied to EMF creation for suppressing schema generation
-
isContainerDDLExecutionRequired
public boolean isContainerDDLExecutionRequired()
- Specified by:
isContainerDDLExecutionRequiredin interfaceSchemaGenerationProcessor- Returns:
- whether ddl needs to be executed by container
-
executeCreateDDL
public void executeCreateDDL()
Description copied from interface:SchemaGenerationProcessorExecute create DDL statements- Specified by:
executeCreateDDLin interfaceSchemaGenerationProcessor
-
-