Select statement with Lazyloading and Caching

For, example, in select clauses (runQuery() method) when are created referenced objects is used method

 createExisting( [String dbName], BigDecimal bd ) 

which calls mentioned method createExisting with the ObjectId parameter and combination of dbName,refs and dbTrans parameters.

If both lazy loading and caching are used, if object exists in the DataStruct cache, it is retrieved from there, and if not, the object is formed, but its data is empty (because of lazy loading).

Later, if object is needed, data is loaded using method:

checkLoad() or loadData().

of <table_name>DO.java class.