> On the other hand, I think that generating those interfaces for POJO's > and Records could be useful for others, too. So I'll consider > implementing #1463 in the next release: > https://sourceforge.net/apps/trac/jooq/ticket/1463
This is now implemented on GitHub and will be included in the next 2.4.0-SNAPSHOT You will be able to specify <generate> <interfaces>true</interfaces> </generate> This new flag will default to false. When set to true, it will then generate an I[TableName] interface in an ".interfaces" subpackage by default, letting corresponding records and pojos implement those interfaces. Using the custom GeneratorStrategy, you will be able to re-name that interface. Now that I have implemented this, I wonder if the ResultQuery.fetchInto(Class), Result.into(Class), and Record.into(Class) methods should also support interfaces, returning proxy objects in the absence of concrete classes. This will be tracked as #1470: https://sourceforge.net/apps/trac/jooq/ticket/1470 Cheers Lukas
