/**
  * Method 'insert'
  *
  * @param dto
  * @return UiElementTypeAttributesPk
  */
 @Transactional
 public UiElementTypeAttributesPk insert(UiElementTypeAttributes dto) {
   getJdbcTemplate()
       .update(
           "INSERT INTO "
               + getTableName()
               + " ( ATTRIBUTE_VALUE, UI_ELEMENT_TYPES_ID, ATTRIBUTES_ID ) VALUES ( ?, ?, ? )",
           dto.getAttributeValue(),
           dto.getUiElementTypesId(),
           dto.getAttributesId());
   UiElementTypeAttributesPk pk = new UiElementTypeAttributesPk();
   pk.setId(getJdbcTemplate().queryForInt("select last_insert_id()"));
   return pk;
 }