public interface JpaVendorAdapterAbstractEntityManagerFactoryBean.setJpaVendorAdapter(org.springframework.orm.jpa.JpaVendorAdapter)| 修飾子と型 | メソッドと説明 |
|---|---|
ClassSE<? extends EntityManagerFactoryEE> | getEntityManagerFactoryInterface()EntityManagerFactory プロキシが実装することになっているベンダー固有の EntityManagerFactory インターフェースを返します。 |
ClassSE<? extends EntityManagerEE> | getEntityManagerInterface() このプロバイダーの EntityManagers が実装するベンダー固有の EntityManager インターフェースを返します。 |
JpaDialect | getJpaDialect() このプロバイダーのベンダー固有の JpaDialect 実装、または存在しない場合は null を返します。 |
MapSE<StringSE,?> | getJpaPropertyMap() ベンダー固有の JPA プロパティのマップを返します。通常、この JpaVendorAdapter インスタンスの設定に基づいています。 |
PersistenceProviderEE | getPersistenceProvider() ベンダー固有の永続性プロバイダーを返します。 |
StringSE | getPersistenceProviderRootPackage() 永続化プロバイダーのルートパッケージの名前を返します(例: |
void | postProcessEntityManagerFactory(EntityManagerFactoryEE emf) アクティブに使用する前にネイティブ EntityManagerFactory を後処理するためのオプションのコールバック。 |
PersistenceProviderEE getPersistenceProvider()
@Nullable StringSE getPersistenceProviderRootPackage()
@Nullable MapSE<StringSE,?> getJpaPropertyMap()
EntityManagerFactory Bean でさらに JPA プロパティが定義されている可能性があることに注意してください。これにより、ここで指定された個々の JPA プロパティ値がオーバーライドされる可能性があります。
null、公開するプロパティがない場合は空のマップ Persistence.createEntityManagerFactory(String, java.util.Map)EE, PersistenceProvider.createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo, java.util.Map)EE@Nullable JpaDialect getJpaDialect()
null を返します。ClassSE<? extends EntityManagerFactoryEE> getEntityManagerFactoryInterface()
プロバイダーが EntityManagerFactory 拡張を提供しない場合、アダプターは標準の EntityManagerFactoryEE クラスをここで返すだけです。
ClassSE<? extends EntityManagerEE> getEntityManagerInterface()
プロバイダーが EntityManager 拡張を提供しない場合、アダプターは標準の EntityManagerEE クラスをここで返すだけです。
void postProcessEntityManagerFactory(EntityManagerFactoryEE emf)
これは、ベンダー固有の初期化プロセスをトリガーするために使用できます。これはほとんどのプロバイダーで使用されることは想定されていませんが、ここでは一般的な拡張フックとして含まれています。