|
|
|
@ -69,7 +69,7 @@ import org.springframework.util.CollectionUtils; |
|
|
|
* a Spring application context. |
|
|
|
* a Spring application context. |
|
|
|
* |
|
|
|
* |
|
|
|
* <p>Encapsulates the common functionality between the different JPA bootstrap |
|
|
|
* <p>Encapsulates the common functionality between the different JPA bootstrap |
|
|
|
* contracts (standalone as well as container). |
|
|
|
* contracts: standalone as well as container. |
|
|
|
* |
|
|
|
* |
|
|
|
* <p>Implements support for standard JPA configuration conventions as well as |
|
|
|
* <p>Implements support for standard JPA configuration conventions as well as |
|
|
|
* Spring's customizable {@link JpaVendorAdapter} mechanism, and controls the |
|
|
|
* Spring's customizable {@link JpaVendorAdapter} mechanism, and controls the |
|
|
|
@ -178,10 +178,10 @@ public abstract class AbstractEntityManagerFactoryBean implements |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Specify the name of the EntityManagerFactory configuration. |
|
|
|
* Specify the name of the persistence unit configuration to use. |
|
|
|
* <p>Default is none, indicating the default EntityManagerFactory |
|
|
|
* <p>Default is none, indicating the default persistence unit configuration. |
|
|
|
* configuration. The persistence provider will throw an exception if |
|
|
|
* The persistence provider will throw an exception if ambiguous persistence |
|
|
|
* ambiguous EntityManager configurations are found. |
|
|
|
* unit configurations are found. |
|
|
|
* @see jakarta.persistence.Persistence#createEntityManagerFactory(String) |
|
|
|
* @see jakarta.persistence.Persistence#createEntityManagerFactory(String) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void setPersistenceUnitName(@Nullable String persistenceUnitName) { |
|
|
|
public void setPersistenceUnitName(@Nullable String persistenceUnitName) { |
|
|
|
|