Hi there guys (and Happy New Year!),
As per the topic title, I'm using a generator strategy which implements
this
@Override
List<String> getJavaClassImplements(Definition definition,
GeneratorStrategy.Mode mode) {
if (mode.equals(org.jooq.util.GeneratorStrategy.Mode.POJO)) {
//remove serialization implement
return null;
} else
return super.getJavaClassImpleme
Other overrides in the strategy works. *Overriding as the code above
however does not even generate the POJOs at all* (POJO generation without
this override does works beautifully).
I'm currently using Gradle 2.8 with org.jooq:jooq-codegen:3.7.1
dependencies.
As for my reason to remove the Serializable interface: I wanted to share
the same generated pojos inside Android which prefers to implement
the Parcelable serialization interface instead (as Serializable on Android
is very slow and generally not recommended).
Hence, may I know is this a bug or expected behavior?
--
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.