org.springframework.orm.jpa.JpaVendorAdapter implementation for Eclipse
Persistence Services (EclipseLink). Compatible with EclipseLink 3.0/4.0.
Exposes EclipseLink's persistence provider and EntityManager extension interface,
and adapts AbstractJpaVendorAdapter's common configuration settings.
No support for the detection of annotated packages (through
org.)
since EclipseLink doesn't use package-level metadata.
EclipseLinkJpaDialect, org.eclipse.persistence.jpa.PersistenceProvider , org.eclipse.persistence.jpa.JpaEntityManager
| Modifier and Type | Field and Description |
|---|---|
| private final EclipseLinkJpaDialect | |
| private final PersistenceProvider |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | Returns: the EclipseLink target database name, ornull if none foundthe specified database database)Determine the EclipseLink target database name for the given database. |
| public Class | getEntityManagerInterface()
Overrides org. Overrides default org. Return the vendor-specific EntityManager interface that this provider's EntityManagers will implement. |
| public EclipseLinkJpaDialect | getJpaDialect()
Overrides org. Overrides default org. Return the vendor-specific JpaDialect implementation for this
provider, or |
| public Map | getJpaPropertyMap()
Overrides org. Overrides default org. Return a Map of vendor-specific JPA properties, typically based on settings in this JpaVendorAdapter instance. |
| public PersistenceProvider | getPersistenceProvider()
Implements org. Return the vendor-specific persistence provider. |
| jpaDialect | back to summary |
|---|---|
| private final EclipseLinkJpaDialect jpaDialect | |
| persistenceProvider | back to summary |
|---|---|
| private final PersistenceProvider persistenceProvider | |
| EclipseLinkJpaVendorAdapter | back to summary |
|---|---|
| public EclipseLinkJpaVendorAdapter() | |
| determineTargetDatabaseName | back to summary |
|---|---|
| protected String determineTargetDatabaseName(Database database) Determine the EclipseLink target database name for the given database. | |
| getEntityManagerInterface | back to summary |
|---|---|
| public Class Overrides org. Overrides default org. Doc from org. Return the vendor-specific EntityManager interface that this provider's EntityManagers will implement. If the provider does not offer any EntityManager extensions,
the adapter should simply return the standard
| |
| getJpaDialect | back to summary |
|---|---|
| public EclipseLinkJpaDialect getJpaDialect() Overrides org. Overrides default org. Doc from org. Return the vendor-specific JpaDialect implementation for this
provider, or
| |
| getJpaPropertyMap | back to summary |
|---|---|
| public Map Overrides org. Overrides default org. Doc from org. Return a Map of vendor-specific JPA properties, typically based on settings in this JpaVendorAdapter instance. Note that there might be further JPA properties defined on the EntityManagerFactory bean, which might potentially override individual JPA property values specified here. | |
| getPersistenceProvider | back to summary |
|---|---|
| public PersistenceProvider getPersistenceProvider() Implements org. Doc from org. Return the vendor-specific persistence provider.
| |