code: private void addSource(Object entity, Map<String, Object> values, EntityType entityType)
      {
          Set<Attribute> attributes = entityType.getAttributes();
          for (Attribute attrib : attributes)
          {
              if (!attrib.isAssociation())
              {
                  Object value = PropertyAccessorHelper.getObject(entity, (Field) attrib.getJavaMember());
                  values.put(((AbstractAttribute) attrib).getJPAColumnName(), value);
              }
          }
      }
docs: Adds the source.
  
  @param entity
  the entity
  @param values
  the values
  @param entityType
  the entity type