com.holonplatform.datastore.jpa

## Interface JpaDatastore.EntityManagerInitializer

- Enclosing interface:
    JpaDatastore
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public static interface JpaDatastore.EntityManagerInitializer

  Interface to provide `EntityManager` instance to use when executing a Datastore operation

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.persistence.EntityManager` | `getEntityManager(javax.persistence.EntityManagerFactory entityManagerFactory)` Get/create the `EntityManager` instance to use when executing a Datastore operation

- - ### Method Detail

    - #### getEntityManager

          javax.persistence.EntityManager getEntityManager(javax.persistence.EntityManagerFactory entityManagerFactory)

      Get/create the `EntityManager` instance to use when executing a Datastore operation
      Parameters:
        `entityManagerFactory` - EntityManagerFactory bound to the Datastore
      Returns:
        EntityManager to use

Copyright © 2017 The Holon Platform. All rights reserved.