public class EclipseLinkSchemaGenerationProcessor extends Object implements SchemaGenerationProcessor
Constructor and Description |
---|
EclipseLinkSchemaGenerationProcessor(String persistenceProviderClassName)
Creates a new instance of EclipseLinkSchemaGenerationProcessor using Java2DBProcessorHelper
|
Modifier and Type | Method and Description |
---|---|
void |
executeCreateDDL()
This method is called after the jdbc files have been created.
|
Map<String,Object> |
getOverridesForSchemaGeneration() |
Map<String,Object> |
getOverridesForSuppressingSchemaGeneration() |
void |
init(PersistenceUnitDescriptor pud,
DeploymentContext context)
initialize the processor
|
boolean |
isContainerDDLExecutionRequired() |
static boolean |
isSupportedPersistenceProvider(String providerClassName)
This processor only supports EclipseLink, the default
persistence povider in glassfish; or Toplink, the default provder for GF 2.x.
|
public EclipseLinkSchemaGenerationProcessor(String persistenceProviderClassName)
public void init(PersistenceUnitDescriptor pud, DeploymentContext context)
SchemaGenerationProcessor
init
in interface SchemaGenerationProcessor
pud
- The PersistenceUnitDescriptor for pu being deployedcontext
- The deployment contextpublic Map<String,Object> getOverridesForSchemaGeneration()
getOverridesForSchemaGeneration
in interface SchemaGenerationProcessor
public Map<String,Object> getOverridesForSuppressingSchemaGeneration()
getOverridesForSuppressingSchemaGeneration
in interface SchemaGenerationProcessor
public boolean isContainerDDLExecutionRequired()
isContainerDDLExecutionRequired
in interface SchemaGenerationProcessor
public void executeCreateDDL()
executeCreateDDL
in interface SchemaGenerationProcessor
public static boolean isSupportedPersistenceProvider(String providerClassName)
Copyright © 2020. All rights reserved.