@ForeignKey(name="none") @ManyToOne(fetch = FetchType.LAZY, optional = true) @JoinColumn(referencedColumnName = "oid", updatable = false, insertable = false, nullable = true) @NotFound(action = NotFoundAction.IGNORE) @NotQueryable public RObject getTarget() { return null; }
@ForeignKey(name="none") @ManyToOne(fetch = FetchType.LAZY, optional = true, targetEntity = RObject.class) @JoinColumn(referencedColumnName = "oid", updatable = false, insertable = false, nullable = true) @NotFound(action = NotFoundAction.IGNORE) @NotQueryable public T getTarget() { return target; }
@ForeignKey(name="none") @ManyToOne(fetch = FetchType.LAZY, optional = true) @JoinColumn(referencedColumnName = "oid", updatable = false, insertable = false, nullable = true) @NotFound(action = NotFoundAction.IGNORE) @NotQueryable // only for HQL use public RObject getTarget() { return null; }
@ForeignKey(name="none") @ManyToOne(fetch = FetchType.LAZY, optional = true) @JoinColumn(referencedColumnName = "oid", updatable = false, insertable = false, nullable = true) @NotFound(action = NotFoundAction.IGNORE) @NotQueryable // declared for HQL use only public RObject getTarget() { return null; }
@ManyToOne(fetch = FetchType.LAZY, optional = true) @JoinColumn(referencedColumnName = "oid", updatable = false, insertable = false, nullable = true, foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT)) @NotFound(action = NotFoundAction.IGNORE) @NotQueryable public RObject getTarget() { return null; }
@ManyToOne(fetch = FetchType.LAZY, optional = true, targetEntity = RObject.class) @JoinColumn(referencedColumnName = "oid", updatable = false, insertable = false, nullable = true, foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT)) @NotFound(action = NotFoundAction.IGNORE) @NotQueryable public T getTarget() { return target; }
@NotFound(action = NotFoundAction.IGNORE) @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "StrCode") public Organization getOrganization() { return organization; }
@NotFound(action = NotFoundAction.IGNORE) @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "KmkCode") public Account getAccount() { return account; }