Identity Management (MOSC)

MOSC Banner

Transaction Management

edited Oct 3, 2013 9:38PM in Identity Management (MOSC) 2 commentsAnswered
Hi          In our project, there are few scenarios that we have to call at a time more than one OIM API methods. As far as I know, if there is only one method transaction will be taken care automatically. But, in our scenario we are calling more than one method at a time, for example please go through the below code.
I am calling the create method for organization
omgr.create(org);
in the same after creation it has to call provision method
utilityFactory1.provisionObject(Long.parseLong(result),rp.getResourceKey("North America"));
I need a transaction, so that if any of these methods gets failed every thing should be rolled back. Can any one please help me how to achieve the transaction management in OIM API.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center