New AssetReader API Seems to Be Taking Longer to Read Assets Comparing to Legacy Asset API. Why?
Last updated on JULY 07, 2017
Applies to:Oracle WebCenter Sites - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
Compared the execution time of the new AssetReader API and the legacy Asset API, for example:
- New AssetReader API - .selectAll(true) vs Legacy Asset API - AssetDataManager.read(AssetId x)
- New AssetReader API - .select(attr1, attr2) vs Legacy Asset API - AssetDataManager.readAttributes(AssetId x, Arrays.asList(attr1, attr2))
, it seems that the new AssetReader API is taking longer to read assets. Why is that?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms