Dylan's BI Study Notes

My notes about Business Intelligence, Data Warehousing, OLAP, and Master Data Management

ODI SDK: List Projects

This is a very simple Groovy script.  I learned how Groovy handles collections.

.
//List Projects
import oracle.odi.domain.project.OdiProject;
ProjectsList = (odiInstance.getTransactionalEntityManager().findAll(OdiProject.class))

for (p in ProjectsList)
{
println( p.getName() )
}

The same thing can be done by querying ODI snp tables.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s