List of usage examples for javax.persistence ConstraintMode NO_CONSTRAINT
ConstraintMode NO_CONSTRAINT
To view the source code for javax.persistence ConstraintMode NO_CONSTRAINT.
Click Source Link
From source file:com.evolveum.midpoint.repo.sql.data.common.container.RAssignment.java
@org.hibernate.annotations.ForeignKey(name = "none") @com.evolveum.midpoint.repo.sql.query.definition.Any(jaxbNameLocalPart = "extension") @OneToOne(optional = true, orphanRemoval = true) @Cascade({ org.hibernate.annotations.CascadeType.ALL }) @JoinColumns(value = { @JoinColumn(name = "extOid", referencedColumnName = "owner_owner_oid"), @JoinColumn(name = "extId", referencedColumnName = "owner_id") }, foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT)) public RAssignmentExtension getExtension() { return extension; }