You can already do that in two steps:

Author a = record.into(Author.class);

Book b = record.into(Book.class);

But the difficulty will be to disambiguate conflicting column names, e.g.
if both tables have an ID column. There is currently no automatic way to
resolve this ambiguity. Note that you could write your own
RecordMapperProvider to add more functionality in this area:
http://www.jooq.org/doc/3.2/manual/sql-execution/fetching/pojos-with-recordmapper-provider

2013/11/25 Darren S <[email protected]>

> Say I join BOOK w/ AUTHOR, it would be nice to map the result to a Book
> and Author object.  I can think of some hacked up ways to do this, but I
> was curious if there was any type of support for such a thing or even if
> somebody has done a similar thing.
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to