code: @Override
      public Object find(Class entityClass, Object key)
      {
  
          EntityMetadata entityMetadata = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, entityClass);
          JsonDocument doc;
          String id = generateJsonDocId(entityMetadata.getTableName(), key.toString());
          doc = bucket.get(id);
          LOGGER.debug("Found result for ID : " + key.toString() + " in the " + bucket.name() + " Bucket");
  
          if (doc == null)
          {
              return null;
          }
          else
          {
              MetamodelImpl metaModel = (MetamodelImpl) kunderaMetadata.getApplicationMetadata()
                      .getMetamodel(entityMetadata.getPersistenceUnit());
              EntityType entityType = metaModel.entity(entityMetadata.getEntityClazz());
              return handler.getEntityFromDocument(entityClass, doc.content(), entityType);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see com.impetus.kundera.client.Client#find(java.lang.Class,
  java.lang.Object)