Class EMFProviderNoTransactions

java.lang.Object
com.isomorphic.jpa.EMFProviderLMT
com.isomorphic.jpa.EMFProviderNoTransactions
All Implemented Interfaces:
EMFProviderInterface

public class EMFProviderNoTransactions extends EMFProviderLMT
EMF provider for Google Application Engine mode without transactions usage.

Name of persistence unit can be read from jpa.persistenceUnitName property. EntityManagerFactory is created in static initialization block and used to create EntityManager objects.

  • Constructor Details

    • EMFProviderNoTransactions

      public EMFProviderNoTransactions()
      Creates new EMF provider. Name of persistence unit is read from jpa.persistenceUnitName property.
    • EMFProviderNoTransactions

      public EMFProviderNoTransactions(Properties config)
      Creates new EMF provider. Name of persistence unit is read from provided persistenceUnitName property.
      Parameters:
      config - Properties for provider configuration.
    • EMFProviderNoTransactions

      public EMFProviderNoTransactions(String persistenceUnitName)
      Creates new EMF provider with specified persistence unit name.
      Parameters:
      persistenceUnitName - String name of persistence unit.
  • Method Details