Module org.eclipse.persistence.jpa
Class XMLEntityMappingsReader
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappingsReader
ORM.xml reader.
- Since:
- EclipseLink 1.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clear()
Free the project and schema objects to avoid holding onto the memory.static XMLContext
static Schema
static XMLContext
static Schema
static XMLContext
static Schema
static XMLContext
static Schema
static XMLContext
static Schema
static XMLContext
static Schema
static XMLContext
static Schema
protected static Schema
loadLocalSchema
(String schemaName) Load the XML schema from the jar resource.protected static XMLEntityMappings
INTERNAL:static XMLEntityMappings
read
(String sourceName, Reader reader, ClassLoader classLoader, Map properties) INTERNAL:static XMLEntityMappings
read
(URL url, ClassLoader classLoader, Properties properties) INTERNAL:
-
Field Details
-
ORM_1_0_XSD
- See Also:
-
ORM_1_0_NAMESPACE
- See Also:
-
ORM_2_0_XSD
- See Also:
-
ORM_2_0_NAMESPACE
- See Also:
-
ORM_2_1_XSD
- See Also:
-
ORM_2_1_NAMESPACE
- See Also:
-
ORM_2_2_XSD
- See Also:
-
ORM_2_2_NAMESPACE
- See Also:
-
ORM_3_0_XSD
- See Also:
-
ORM_3_0_NAMESPACE
- See Also:
-
ORM_3_1_XSD
- See Also:
-
ORM_3_1_NAMESPACE
- See Also:
-
ECLIPSELINK_ORM_XSD
- See Also:
-
ECLIPSELINK_ORM_NAMESPACE
- See Also:
-
-
Method Details
-
getEclipseLinkOrmProject
- Returns:
- the Eclipselink orm project.
-
getEclipseLinkOrmSchema
- Returns:
- the Eclipselink orm schema.
- Throws:
IOException
SAXException
-
getOrm1_0Project
- Returns:
- the JPA 1.0 orm project.
-
getOrm1_0Schema
- Returns:
- the JPA 1.0 orm schema.
- Throws:
IOException
SAXException
-
getOrm2_0Project
- Returns:
- the JPA 2.0 orm project.
-
getOrm2_0Schema
- Returns:
- the JPA 2.0 orm schema.
- Throws:
IOException
SAXException
-
getOrm2_1Project
- Returns:
- the JPA 2.1 orm project.
-
getOrm2_1Schema
- Returns:
- the JPA 2.1 orm schema.
- Throws:
IOException
SAXException
-
getOrm2_2Project
- Returns:
- the JPA 2.2 orm project.
-
getOrm2_2Schema
- Returns:
- the JPA 2.2 orm schema.
- Throws:
IOException
SAXException
-
getOrm3_0Project
- Returns:
- the JPA 3.0 orm project.
-
getOrm3_0Schema
- Returns:
- the JPA 3.0 orm schema.
- Throws:
IOException
SAXException
-
getOrm3_1Project
- Returns:
- the JPA 3.1 orm project.
-
getOrm3_1Schema
- Returns:
- the JPA 3.1 orm schema.
- Throws:
IOException
SAXException
-
clear
public static void clear()Free the project and schema objects to avoid holding onto the memory. This can be done post-deployment to conserve memory. -
loadLocalSchema
Load the XML schema from the jar resource.- Throws:
IOException
SAXException
-
read
public static XMLEntityMappings read(String sourceName, Reader reader, ClassLoader classLoader, Map properties) INTERNAL: -
read
protected static XMLEntityMappings read(String mappingFile, Reader reader1, Reader reader2, ClassLoader classLoader, Map properties) INTERNAL: -
read
public static XMLEntityMappings read(URL url, ClassLoader classLoader, Properties properties) throws IOException INTERNAL:- Parameters:
properties
- - PersistenceUnitInfo properties on the project- Throws:
IOException
-