EclipseLinkJpaVendorAdapter
@Deprecated public class TopLinkJpaVendorAdapter extends AbstractJpaVendorAdapter
JpaVendorAdapter
implementation for
Oracle TopLink Essentials. Developed and tested against TopLink Essentials v2.
Exposes TopLink's persistence provider and EntityManager extension interface,
and supports AbstractJpaVendorAdapter
's common configuration settings.
EntityManagerFactoryProvider
,
EntityManager
Constructor and Description |
---|
TopLinkJpaVendorAdapter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
determineTargetDatabaseName(Database database)
Deprecated.
Determine the TopLink target database name for the given database.
|
Class<? extends EntityManager> |
getEntityManagerInterface()
Deprecated.
Return the vendor-specific EntityManager interface
that this provider's EntityManagers will implement.
|
JpaDialect |
getJpaDialect()
Deprecated.
Return the vendor-specific JpaDialect implementation for this
provider, or
null if there is none. |
Map<String,Object> |
getJpaPropertyMap()
Deprecated.
Return a Map of vendor-specific JPA properties,
typically based on settings in this JpaVendorAdapter instance.
|
PersistenceProvider |
getPersistenceProvider()
Deprecated.
Return the vendor-specific persistence provider.
|
String |
getPersistenceProviderRootPackage()
Deprecated.
Return the name of the persistence provider's root package
(e.g.
|
getDatabase, getDatabasePlatform, getEntityManagerFactoryInterface, isGenerateDdl, isShowSql, postProcessEntityManagerFactory, setDatabase, setDatabasePlatform, setGenerateDdl, setShowSql
public PersistenceProvider getPersistenceProvider()
JpaVendorAdapter
public String getPersistenceProviderRootPackage()
JpaVendorAdapter
getPersistenceProviderRootPackage
in interface JpaVendorAdapter
getPersistenceProviderRootPackage
in class AbstractJpaVendorAdapter
public Map<String,Object> getJpaPropertyMap()
JpaVendorAdapter
Note that there might be further JPA properties defined on the EntityManagerFactory bean, which might potentially override individual JPA property values specified here.
getJpaPropertyMap
in interface JpaVendorAdapter
getJpaPropertyMap
in class AbstractJpaVendorAdapter
null
or an empty Map
if there are no such properties to exposePersistence.createEntityManagerFactory(String, java.util.Map)
,
PersistenceProvider.createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo, java.util.Map)
protected String determineTargetDatabaseName(Database database)
database
- the specified databasenull
if none foundpublic JpaDialect getJpaDialect()
JpaVendorAdapter
null
if there is none.getJpaDialect
in interface JpaVendorAdapter
getJpaDialect
in class AbstractJpaVendorAdapter
public Class<? extends EntityManager> getEntityManagerInterface()
JpaVendorAdapter
If the provider does not offer any EntityManager extensions,
the adapter should simply return the standard
EntityManager
class here.
getEntityManagerInterface
in interface JpaVendorAdapter
getEntityManagerInterface
in class AbstractJpaVendorAdapter