Showing posts with label Force save MDS in ADF Jdeveloper. Show all posts
Showing posts with label Force save MDS in ADF Jdeveloper. Show all posts

Thursday, September 6, 2012

Save MDS data in ADF

try
{
    ADFContext context = ADFContext.getCurrent();
    MDSSession session = (MDSSession)context.getMDSSessionAsObject();
    session.flushChanges();
} catch (MDSIOException e) {
} catch (ConcurrentMOChangeException e) {
} catch (ValidationException e) {
}