Skip navigation links

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

E17060-04


oracle.odi.core.persistence
Interface IOdiEntityManagerFactory


public interface IOdiEntityManagerFactory

The IOdiEntityManagerFactory interface is used by the application to obtain an application-managed entity manager.

Since:
11.1.1.3.0

Method Summary
 IOdiEntityManager createOdiEntityManager()
          Create an application managed IOdiEntityManager.
 javax.sql.DataSource getMasterRepositoryDataSource()
          Obtains the JDBC DataSource this IOdiEntityManagerFactory obtains its master repository JDBC Connections from.
 javax.sql.DataSource getWorkRepositoryDataSource()
          Obtains the JDBC DataSource this IOdiEntityManagerFactory obtains its work repository JDBC Connections from.
 boolean hasWorkRepositoryDataSource()
          Return whether a work repository is defined.

 

Method Detail

createOdiEntityManager

IOdiEntityManager createOdiEntityManager()
Create an application managed IOdiEntityManager.
Returns:
a new IOdiEntityManager instance

getMasterRepositoryDataSource

javax.sql.DataSource getMasterRepositoryDataSource()
Obtains the JDBC DataSource this IOdiEntityManagerFactory obtains its master repository JDBC Connections from.
Returns:
a JDBC DataSource for master repository

getWorkRepositoryDataSource

javax.sql.DataSource getWorkRepositoryDataSource()
Obtains the JDBC DataSource this IOdiEntityManagerFactory obtains its work repository JDBC Connections from.
Returns:
a JDBC DataSource for work repository

hasWorkRepositoryDataSource

boolean hasWorkRepositoryDataSource()
Return whether a work repository is defined.
Returns:
true if a work repository DataSource can be obtained, false otherwise

Skip navigation links

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

E17060-04


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