public GenericResultObjectProvider(Class pcClass,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) {
this(store.getConfiguration().getMappingRepositoryInstance().getMapping
(pcClass, store.getContext().getClassLoader(), true),
store, fetch, res);
}
Parameters:
pcClass - the base class of the result objects
store - the store manager to delegate loading to
fetch - the fetch configuration, or null for default
res - the result containing the data
|
public GenericResultObjectProvider(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) {
_mapping = mapping;
_store = store;
if (fetch == null)
_fetch = store.getFetchConfiguration();
else
_fetch = fetch;
_res = res;
}
Parameters:
mapping - the mapping for the base class of the result objects
store - the store manager to delegate loading to
fetch - the fetch configuration, or null for default
res - the result containing the data
|