You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not very userfriendly to create the POJOs with DataObject-annotation:
create a new maven module with a dependency to vertx-jooq-generate
create a new class that extends DelegatingVertxGenerator like this
public class ClassicReactiveVertxGeneratorWithDataObjectSupport extends DelegatingVertxGenerator {
public ClassicReactiveVertxGeneratorWithDataObjectSupport() {
super(VertxGeneratorBuilder.init().withClassicAPI().withPostgresReactiveDriver().build(new BuildOptions().withBuildFlags(EnumSet.of(BuildOptions.BuildFlag.GENERATE_DATA_OBJECT_ANNOTATION))));
}
}
build the module
reference the new generator in your gradle plugin configuration
note: the generated classes require a dependency to the vertx-codegen-module so make sure to add that to your dependency-configuration
We should either add generators for this (easy but not very extensible) or write a simple maven/gradle-plugin on our own.
The text was updated successfully, but these errors were encountered:
It is not very userfriendly to create the POJOs with
DataObject
-annotation:vertx-jooq-generate
DelegatingVertxGenerator
like thisvertx-codegen
-module so make sure to add that to your dependency-configurationWe should either add generators for this (easy but not very extensible) or write a simple maven/gradle-plugin on our own.
The text was updated successfully, but these errors were encountered: