Hello,

We've recently had a contribution for generating equals() and hashCode() on
POJOs:
https://github.com/jOOQ/jOOQ/issues/1380

And we're also going to be generating toString() on POJOs soon:
https://github.com/jOOQ/jOOQ/issues/1364

... although it is not a priority.

Preferrably, we don't create third-party dependencies on generated code.

Already today, you can override the JavaGenerator's
"generatePojoClassFooter()" method to implement your own toString(),
hashCode(), and equals() implementations. This is documented here:
http://www.jooq.org/doc/latest/manual/code-generation/codegen-custom-code/

Hope this helps,
Lukas

2014-10-11 22:01 GMT+02:00 <[email protected]>:

> Hi,
>
> Is there any jooq-codegen configuration flags so that the generated Java
> classes has the toString(), hashCode() and equals(Object) methods using
> jakarta-common-lang?
>
> Best regards
> Carlos
>
> --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to