Populates an object with the given id, and saves it to the cache. In future instances, the cached version is used.
A fully populated DBObject
Exception Type | Condition |
---|---|
ObjectDoesNotExistException | Thrown when the object does not exist in the database |
ObjectUtils Class | Shunde.Utilities Namespace