public class EntityManagerFactoryBuilder extends ObjectSE
LocalContainerEntityManagerFactoryBean を作成できます。最も一般的なオプションはビルダーでカバーされていますが、@Bean 定義から返す前に、さらに制御が必要な場合はいつでもビルダーの製品を操作できます。| 修飾子と型 | クラスと説明 |
|---|---|
class | EntityManagerFactoryBuilder.BuilderLocalContainerEntityManagerFactoryBean の流れるようなビルダー。 |
| コンストラクターと説明 |
|---|
EntityManagerFactoryBuilder(org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter, MapSE<StringSE,?> jpaProperties, org.springframework.orm.jpa.persistenceunit.PersistenceUnitManager persistenceUnitManager) 複数の EntityManagerFactory インスタンスが作成された場合に共有される共通部分を渡す新しいインスタンスを作成します。 |
EntityManagerFactoryBuilder(org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter, MapSE<StringSE,?> jpaProperties, org.springframework.orm.jpa.persistenceunit.PersistenceUnitManager persistenceUnitManager, URLSE persistenceUnitRootLocation) 複数の EntityManagerFactory インスタンスが作成された場合に共有される共通部分を渡す新しいインスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
EntityManagerFactoryBuilder.Builder | dataSource(DataSourceSE dataSource) |
void | setBootstrapExecutor(org.springframework.core.task.AsyncTaskExecutor bootstrapExecutor)LocalContainerEntityManagerFactoryBean で使用されるようにブートストラップエグゼキュータを構成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic EntityManagerFactoryBuilder(org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter,
MapSE<StringSE,?> jpaProperties,
org.springframework.orm.jpa.persistenceunit.PersistenceUnitManager persistenceUnitManager)jpaVendorAdapter - ベンダーアダプター jpaProperties - 永続性プロバイダーに渡される JPA プロパティ persistenceUnitManager - 永続性ユニット情報のオプションのソース (null でもかまいません)public EntityManagerFactoryBuilder(org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter,
MapSE<StringSE,?> jpaProperties,
org.springframework.orm.jpa.persistenceunit.PersistenceUnitManager persistenceUnitManager,
URLSE persistenceUnitRootLocation)jpaVendorAdapter - ベンダーアダプター jpaProperties - 永続性プロバイダーに渡される JPA プロパティ persistenceUnitManager - 永続性ユニット情報のオプションのソース (null でもかまいません)persistenceUnitRootLocation - フォールバックとして使用する永続性ユニットのルートの場所 (null でもかまいません)public EntityManagerFactoryBuilder.Builder dataSource(DataSourceSE dataSource)
public void setBootstrapExecutor(org.springframework.core.task.AsyncTaskExecutor bootstrapExecutor)
LocalContainerEntityManagerFactoryBean で使用されるようにブートストラップエグゼキュータを構成します。bootstrapExecutor - 執行者 Copyright © 2019 Pivotal Software, Inc.. All rights reserved.