Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


oracle.odi.core.persistence
Class OdiEntityManagerFactoryUtils

java.lang.Object
  extended by oracle.odi.core.persistence.OdiEntityManagerFactoryUtils


public abstract class OdiEntityManagerFactoryUtils
extends java.lang.Object

Helper class that provides utility methods for IOdiEntityManager.

Intended for internal use only.

Since:
11.1.1.3.0

Constructor Summary
OdiEntityManagerFactoryUtils()
           

 

Method Summary
static void closeEntityManager(IOdiEntityManager pEm)
          Close the given IOdiEntityManager, catching and logging any cleanup exceptions thrown.
static IOdiEntityManager getTransactionalEntityManager(IOdiEntityManagerFactory pEmf)
          Obtains transactional entity manager for given factory.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

OdiEntityManagerFactoryUtils

public OdiEntityManagerFactoryUtils()

Method Detail

closeEntityManager

public static void closeEntityManager(IOdiEntityManager pEm)
Close the given IOdiEntityManager, catching and logging any cleanup exceptions thrown.
Parameters:
pEm - the OdiEntityManager to close (may be null)
See Also:
IOdiEntityManager.close()

getTransactionalEntityManager

public static IOdiEntityManager getTransactionalEntityManager(IOdiEntityManagerFactory pEmf)
Obtains transactional entity manager for given factory.
Parameters:
pEmf - the entity manager factory
Returns:
a transactional entity manager, or null if none

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.