public interface MetadataSource
PersistenceUnitProperties.METADATA_SOURCE
Modifier and Type | Method and Description |
---|---|
org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappings |
getEntityMappings(Map<String,Object> properties,
ClassLoader classLoader,
SessionLog log)
PUBLIC: This method is responsible for returning the object
representation of the object-relational mapping overrides.
|
Map<String,Object> |
getPropertyOverrides(Map<String,Object> properties,
ClassLoader classLoader,
SessionLog log)
PUBLIC: This method is responsible for returning additional persistence
unit property overrides.
|
Map<String,Object> getPropertyOverrides(Map<String,Object> properties, ClassLoader classLoader, SessionLog log)
IMPORTANT: Although any property can be changed using this approach it is important that users of this feature ensure compatible configurations are supplied. As an example; overriding an application to use RESOURCE_LOCAL when it was coded to use JTA would result in changes not be written to the database.
org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappings getEntityMappings(Map<String,Object> properties, ClassLoader classLoader, SessionLog log)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.