-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add @DataObject for generated POJOs #140
Comments
This totally makes sense. Will see how fast I can add it. |
On the other hand, I noticed that the generated DAO classes have methods like |
I'd just add |
you mean this ? contentDao.findManyByCondition(DSL.condition(CONTENT.ID.gt(begin).toString() + "order by id desc limit 10")) |
What I mean is, if you need to remotely call a function that takes a
|
It was more work to add this annotation as expected. As described in jOOQ/jOOQ#10355 I had to cook a lot copy pasta to achieve this functionality. I will remove the duplicate code once it is implemented. |
# Conflicts: # vertx-jooq-generate/src/main/java/io/github/jklingsporn/vertx/jooq/generate/VertxGenerator.java # vertx-jooq-generate/src/test/java/generated/cf/reactive/guice/vertx/tables/pojos/Something.java # vertx-jooq-generate/src/test/java/generated/cf/reactive/regular/vertx/tables/pojos/Something.java # vertx-jooq-generate/src/test/java/generated/classic/reactive/guice/vertx/tables/pojos/Something.java # vertx-jooq-generate/src/test/java/generated/classic/reactive/regular/vertx/tables/pojos/Something.java # vertx-jooq-generate/src/test/java/generated/rx/reactive/guice/vertx/tables/pojos/Something.java # vertx-jooq-generate/src/test/java/generated/rx/reactive/regular/vertx/tables/pojos/Something.java
It is perfect to generate POJO with
fomJson
andtoJson
, but is it possible to add @dataobject to generated POJOs also? if so , we can use it in service proxies. refer to Service proxies doc, the asynchronous result can only be primitive/json/enum, and class annotated with @dataobjectThe text was updated successfully, but these errors were encountered: