code: @Override
      public void delete(Object entity, Object pKey) {
          EntityMetadata m = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, entity.getClass());
  
          MetamodelImpl metaModel =
              (MetamodelImpl) kunderaMetadata.getApplicationMetadata().getMetamodel(m.getPersistenceUnit());
  
          AbstractManagedType managedType = (AbstractManagedType) metaModel.entity(m.getEntityClazz());
  
          // For secondary tables.
          List<String> secondaryTables =
              ((DefaultEntityAnnotationProcessor) managedType.getEntityAnnotation()).getSecondaryTablesName();
          secondaryTables.add(m.getTableName());
  
          for (String tableName : secondaryTables) {
              this.execute(onDeleteQuery(m, tableName, metaModel, pKey), null);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see com.impetus.client.cassandra.CassandraClientBase#delete(java.lang.Object, java.lang.Object)