String query = null;
List<String> qenericArr = null;
//-------------------------
if (!cache.containsKey(hashKey)) // if data NOTcontains in cache, load it
{
HashData hd = getDataForHash(kind, mappingTable, view);
cache.put(hashKey, hd);
}
HashData hd = cache.get(hashKey);
query = hd.getQuery();
dbFieldsForInit = hd.getFieldsForInit();
fieldJava = hd.getFieldJava();
fieldDB = hd.getFieldDB();
qenericArr = hd.getQenericArr();
Class clazz = entity.getClass();
List<Field> fs = new ArrayList<Field>();
while (clazz != null)
{