ORMlite Android foreign key support
I am not clever from ORMlite documentation. Is is possible to declare in class, that this parameter is foreign key? e.g. I have table Customer: @DatabaseTable(tableName = "customer") public class Customer { @DatabaseField(id = true) private String customerName; @DatabaseField private String customerSurname; @DatabaseField(foreign = true) private String accountNameHolder; @DatabaseField private int age; public Customer() { } } AccountNameHolder should aim towards DatabaseField name from table Accounts. How to do that? I have found only parameter foreign = true, but there is nothing about, which