public interface MetadataSource
PersistenceUnitProperties.METADATA_SOURCE
Modifier and Type | Method and Description |
---|---|
org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappings |
getEntityMappings(java.util.Map<java.lang.String,java.lang.Object> properties,
java.lang.ClassLoader classLoader,
SessionLog log)
PUBLIC: This method is responsible for returning the object
representation of the object-relational mapping overrides.
|
java.util.Map<java.lang.String,java.lang.Object> |
getPropertyOverrides(java.util.Map<java.lang.String,java.lang.Object> properties,
java.lang.ClassLoader classLoader,
SessionLog log)
PUBLIC: This method is responsible for returning additional persistence
unit property overrides.
|
java.util.Map<java.lang.String,java.lang.Object> getPropertyOverrides(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.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(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.ClassLoader classLoader, SessionLog log)