Class Loader

  • Direct Known Subclasses:
    BasicLoader, CustomLoader

    public abstract class Loader
    extends Object
    Abstract superclass of object loading (and querying) strategies. This class implements useful common functionality that concrete loaders delegate to. It is not intended that this functionality would be directly accessed by client code. (Hence, all methods of this class are declared protected or private.) This class relies heavily upon the Loadable interface, which is the contract between this class and EntityPersisters that may be loaded by it.

    The present implementation is able to load any number of columns of entities and at most one collection role per query.
    See Also:
    Loadable