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?