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 void
executeCreateDDL()
Execute create DDL statementsMap<String,Object>
getOverridesForSchemaGeneration()
Map<String,Object>
getOverridesForSuppressingSchemaGeneration()
void
init(PersistenceUnitDescriptor pud, DeploymentContext deploymentContext)
initialize the processorboolean
isContainerDDLExecutionRequired()
-
-
-
Method Detail
-
init
public void init(PersistenceUnitDescriptor pud, DeploymentContext deploymentContext)
Description copied from interface:SchemaGenerationProcessor
initialize the processor- Specified by:
init
in interfaceSchemaGenerationProcessor
-
getOverridesForSchemaGeneration
public Map<String,Object> getOverridesForSchemaGeneration()
- Specified by:
getOverridesForSchemaGeneration
in interfaceSchemaGenerationProcessor
- Returns:
- overrides that will be supplied to EMF creation for schema generation
-
getOverridesForSuppressingSchemaGeneration
public Map<String,Object> getOverridesForSuppressingSchemaGeneration()
- Specified by:
getOverridesForSuppressingSchemaGeneration
in interfaceSchemaGenerationProcessor
- Returns:
- overrides that will be supplied to EMF creation for suppressing schema generation
-
isContainerDDLExecutionRequired
public boolean isContainerDDLExecutionRequired()
- Specified by:
isContainerDDLExecutionRequired
in interfaceSchemaGenerationProcessor
- Returns:
- whether ddl needs to be executed by container
-
executeCreateDDL
public void executeCreateDDL()
Description copied from interface:SchemaGenerationProcessor
Execute create DDL statements- Specified by:
executeCreateDDL
in interfaceSchemaGenerationProcessor
-
-