com.holonplatform.datastore.jpa

## Interface JpaDatastore.EntityManagerOperation<R>

- Type Parameters:
    `R` - Operation result type
  Enclosing interface:
    JpaDatastore

      public static interface JpaDatastore.EntityManagerOperation<R>

  Represents an operation to be executed using a Datastore managed `EntityManager`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `R` | `execute(javax.persistence.EntityManager entityManager)` Execute an operation and returns a result.

- - ### Method Detail

    - #### execute

          R execute(javax.persistence.EntityManager entityManager)
             throws Exception

      Execute an operation and returns a result.
      Parameters:
        `entityManager` - EntityManager to use
      Returns:
        Operation result
      Throws:
        `Exception` - If an operation execution error occurred

Copyright © 2017 The Holon Platform. All rights reserved.