Hi Lukas, Thanks for the information. Simon
> On 22 Oct 2024, at 15:26, Lukas Eder <lukas.e...@gmail.com> wrote: > > > > On Tue, Oct 22, 2024 at 1:43 PM Simon Martinelli <simon.martine...@gmail.com > <mailto:simon.martine...@gmail.com>> wrote: >> Hi, >> >> I usually don't use Pojos but while preparing for a talk I used this feature. >> >> pojosAsJavaRecordClasses >> What's the reason for generating equals/hashCode and toString? Those are >> part of the Record spec anyway and are superfluous. > > Arrays aren't covered by Java's default implementations. Of course, you can > still turn off the generation of these methods if you don't like them. > >> 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 > > > > -- > 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 jooq-user+unsubscr...@googlegroups.com > <mailto:jooq-user+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jooq-user/CAB4ELO5dKcLvkr9JTbgQiD5qU%2BkhzvM%2B4U-eik8s6yf4C%2BZ5Wg%40mail.gmail.com > > <https://groups.google.com/d/msgid/jooq-user/CAB4ELO5dKcLvkr9JTbgQiD5qU%2BkhzvM%2B4U-eik8s6yf4C%2BZ5Wg%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- 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 jooq-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/75609E20-7CD2-4F37-BA0F-447C24A34F02%40gmail.com.