code: @Override
      protected void onPersist(EntityMetadata entityMetadata, Object entity, Object id, List<RelationHolder> rlHolders) {
          // Insert, update is fine
          try {
              cqlClient.persist(entityMetadata, entity, null, rlHolders,
                  getTtlValues().get(entityMetadata.getTableName()));
          } catch (InvalidRequestException e) {
              log.error("Error while persisting record, Caused by: .", e);
              throw new KunderaException(e);
          } catch (TException e) {
              log.error("Error while persisting record, Caused by: .", e);
              throw new KunderaException(e);
          } catch (UnsupportedEncodingException e) {
              log.error("Error while persisting record, Caused by: .", e);
              throw new KunderaException(e);
          }
  
      }
docs: /*
  (non-Javadoc)
  
  @see com.impetus.kundera.client.ClientBase#onPersist(com.impetus.kundera.metadata .model.EntityMetadata,
  java.lang.Object, java.lang.Object, java.util.List)