Skip to content

Commit

Permalink
Merge pull request #1 from DataSyntax/joinedSubclassPersisterFix
Browse files Browse the repository at this point in the history
fixed readOnly in joinedSubclassPersister
  • Loading branch information
Ross Ivantsiv authored Aug 17, 2018
2 parents 1870736 + 5c6c6e0 commit f90df9e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,9 @@ protected function getInsertColumnList()
|| isset($this->class->embeddedClasses[$name])) {
continue;
}

if ($this->class->hasField($name) && $this->class->isReadOnly($name)) {
continue;
}
if (isset($this->class->associationMappings[$name])) {
$assoc = $this->class->associationMappings[$name];
if ($assoc['type'] & ClassMetadata::TO_ONE && $assoc['isOwningSide']) {
Expand Down

0 comments on commit f90df9e

Please sign in to comment.