I think I'm doing something wrong but can't figure out what. I'm using
the folowing config
...
<generate>
<!-- See advanced configuration properties -->
<relations>true</relations>
<navigationMethods>true</navigationMethods>
<deprecated>false</deprecated>
<records>false</records>
<pojos>true</pojos>
</generate>
...
1. I'm getting compile errors like :
public class IdTable extends
org.jooq.impl.UpdatableTableImpl<org.jooq.Record> {
type parameter org.jooq.Record is not within its bound
These go away if I generate record classes.
2. I've ensured that foreign keys are defined in the db but turning on
navigationMethods has no effect. I'd assume that the methods will be
present in the pojo/record classes and return an Object/Collection?
a) if a person table has a house_id that has a foreign key that
references the primary key id of the house table, should I see a method
like getHouse() on the Person record/pojo class?
b) If instead the house table has a person_id column that references
primary key of person table, should I see a getHouses() method on Person
record/pojo?
Thanks,
- Ravi.