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(com.sun.enterprise.deployment.PersistenceUnitDescriptor pud,
org.glassfish.api.deployment.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(com.sun.enterprise.deployment.PersistenceUnitDescriptor pud,
org.glassfish.api.deployment.DeploymentContext context)
SchemaGenerationProcessorinit in interface SchemaGenerationProcessorpud - The PersistenceUnitDescriptor for pu being deployedcontext - The deployment contextpublic Map<String,Object> getOverridesForSchemaGeneration()
getOverridesForSchemaGeneration in interface SchemaGenerationProcessorpublic Map<String,Object> getOverridesForSuppressingSchemaGeneration()
getOverridesForSuppressingSchemaGeneration in interface SchemaGenerationProcessorpublic boolean isContainerDDLExecutionRequired()
isContainerDDLExecutionRequired in interface SchemaGenerationProcessorpublic void executeCreateDDL()
executeCreateDDL in interface SchemaGenerationProcessorpublic static boolean isSupportedPersistenceProvider(String providerClassName)
Copyright © 2013. All Rights Reserved.