Having following entities (irrelevant fields ommitted):

```
@Entity
public class TransferConfiguration {

    @ManyToOne
    @JoinColumn(name = "RECIPIENT_ID", nullable = false)
    private Party recipient;    
}  

@Entity
@Inheritance
@DiscriminatorColumn(name = "type")
public abstract class Party {

}

@Entity
@DiscriminatorValue("C")
public class Customer extends Party {

} 

@Entity
@DiscriminatorValue("O")
public class OtherParty extends Party {

} 

```

The association is based on abstract class. 

Now I would like to have link to the association when I get my resource, but Spring Data REST always inlines the association, giving no link in the \_links section of resulting JSON.

The output looks following:

```
{
  "recipient": {
    // recipient attributes inlined here
  },
  // other attributes here
  "_links": {
    "self": {
      "href": "http://myhost/api/transferConfigurations/20"
    },
    "transferConfiguration": {
      "href": "http://myhost/api/transferConfigurations/20"
    }
  }
}

```

I have repository interfaces for both concrete classes (Customer, OtherParty), but not for the superclass itself. Now when spring-data-rest decides whether to inline the association or not, it tries to find the interface for the Party superclass, which does not exists and therefore the association is inlined.

Is it possible to alter the behaviour somehow?

I would like to have a link instead of inlined association. Like this:

```
{
  // other attributes here
  "_links": {
    "self": {
      "href": "http://myhost/api/transferConfigurations/20"
    },
    "transferConfiguration": {
      "href": "http://myhost/api/transferConfigurations/20"
    },
    "recipient": {
      "href": "http://myhost/api/transferConfigurations/20/recipient"
    },
  }
}

```