Skip to content

Commit

Permalink
Fixing auto-update of the database (regarding focus photo).
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Oct 5, 2015
1 parent a9b7a28 commit 7508e8a
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -30,10 +30,7 @@
import com.evolveum.midpoint.repo.sql.util.RUtil;
import com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType;
import com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType;
import org.hibernate.annotations.Cascade;
import org.hibernate.annotations.ForeignKey;
import org.hibernate.annotations.Index;
import org.hibernate.annotations.Where;
import org.hibernate.annotations.*;

import javax.persistence.Embedded;
import javax.persistence.Entity;
Expand Down Expand Up @@ -182,6 +179,7 @@ public static <T extends FocusType> void copyFromJAXB(FocusType jaxb, RFocus<T>
}
}

@ColumnDefault("false")
public boolean isHasPhoto() {
return hasPhoto;
}
Expand Down

0 comments on commit 7508e8a

Please sign in to comment.