> *POJOs* >> equals/hashCode use all attributes. Why? >> If the underlaying database table has a Primary or a Unique key only >> those attributes should be used. >> > > See: > https://github.com/jOOQ/jOOQ/issues/8705 >
A similar request has come up on that issue where users wish to exclude certain columns from the equals() / hashCode() implementation (e.g. created_at, and other, similar audit columns). That could be implemented in addition to filters for primary keys: https://github.com/jOOQ/jOOQ/issues/17487 I'll do both for jOOQ 3.20. -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAB4ELO4J_Un_8yoxcE-Bcxr5Fzzo0XzY4dKwxY9jLgYeBRxhYg%40mail.gmail.com.
