Hello again,
> I've not seen the ticket #1243, sorry for duplicate request.
I've just created that ticket after your e-mail :-)
> Minute project is the best way to implement this feature. As "extends"
> feature, "implements" feature could be done in same way. Your decision. In
> any case you are right, "extends" is the common used feature.
#1243 will somehow support "extends" and "implements". In that
previous discussion with Sander, the point was that many tables have
common columns, such as CREATED_BY, CREATED_AT, MODIFIED_BY,
MODIFIED_AT, etc. Allowing for implementing interfaces might help
abstracting these fields to a higher level:
--------------------------------------------------------
public interface DatabaseObject {
Long getId();
String getCreatedBy();
Timestamp getCreatedAt();
String getModifiedBy();
Timestamp getModifiedAt();
}
--------------------------------------------------------
With an API like this, generic DAO classes can be written easily. So
it makes perfect sense for jOOQ-generated POJOs to implement custom
interfaces, as well as to extend custom classes.
Cheers
Lukas