/** * Create restrictions on an id of a related entity. * * @param alias the alias of the entity which owns the relation property. * @param propertyName Name of the property, which is the relation. */ public static AuditRelatedId relatedId(String alias, String propertyName) { return new AuditRelatedId( alias, new EntityPropertyName( propertyName ) ); }
/** * Create restrictions on an id of a related entity. * * @param alias the alias of the entity which owns the relation property. * @param propertyName Name of the property, which is the relation. */ public static AuditRelatedId relatedId(String alias, String propertyName) { return new AuditRelatedId( alias, new EntityPropertyName( propertyName ) ); }