|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataSource
Purpose: Interface used to support additional persistence unit metadata being provided from outside of what was packaged within the application. A MetadataSource will need to be registered with a persistence unit.
PersistenceUnitProperties.METADATA_SOURCE
Method Summary | |
---|---|
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. |
Method Detail |
---|
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)
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |