Tuesday, 8 April 2014

Using discardable MBOs

Whenever we are going to get MboSet for traversing purpose, then it is better to make mbo set discardable.
By this, Mboset will not cache the MBOs as it fetches from directly from database. This will minimise the JVM memory usage.

Discardable Mbo Sets used for traversing forward only and not to be edited/saved. Discardable Mbo Sets are always read only.

Sample Code:

MboSetRemote poSet = getMboSet("PO");
poSet.setFlag(MboConstants.DISCARDABLE, true);
......
.........
............
.................
poSet.close();

No comments:

Maximo SOAPUI error javax.xml.ws.WebServiceException

SOAPUI error while sending payload to below url (in cluster environment) http://localhost:9080/meaweb/services/MXASSET Error : <f...