Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision da565582

Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt

  • ID da565582698d8e26cfc84ba36a51874c1aaf958d
  • Vorgänger d933d48e
  • Nachfolger 38a2aaf2

small update

Unterschiede anzeigen:

src/relation.cpp
this->propertyName = propertyName;
this->type = type;
this->optional = optional;
this->cascadeType = {MERGE,
PERSIST,
REFRESH
this->cascadeType = {CascadeType::MERGE,
CascadeType::PERSIST,
CascadeType::REFRESH
};
}
......
this->type = type;
this->mappedBy = mappedBy;
this->optional = true;
if (this->type == ONE_TO_ONE) {
this->cascadeType = {ALL};
if (this->type == RelationType::ONE_TO_ONE) {
this->cascadeType = {CascadeType::ALL};
} else {
this->cascadeType = cascadeType;
}

Auch abrufbar als: Unified diff