I think I'm doing something wrong but cn't figure out what. Using the following configuration I get a couple of issues

<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 a collection? e.g 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 getHouses() on the Person record/pojo class?

Thanks,
- Ravi.

Reply via email to