Jdbi: Is there an effort to implement recursive @Bindbean

Created on 6 Jun 2016  Â·  2Comments  Â·  Source: jdbi/jdbi

Currently in DAOs we have to pass nested objects of db objects using separate parameters. Is there any ongoing effort to make @Bindbean recursive so that we can access nested fields inside DAOs?

question

Most helpful comment

Have a look at RosettaJdbi, which leverages Jackson for this purpose:
https://github.com/HubSpot/Rosetta
On Jun 6, 2016 05:45, "krdeepak" [email protected] wrote:

Currently in DAOs we have to pass nested objects of db objects using
separate parameters. Is there any ongoing effort to make @Bindbean
recursive so that we can access nested fields inside DAOs?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jdbi/jdbi/issues/395, or mute the thread
https://github.com/notifications/unsubscribe/AACW5YUZhYR4dt5dxBieFEeM63-baASMks5qJAhegaJpZM4Iu0Fk
.

All 2 comments

Have a look at RosettaJdbi, which leverages Jackson for this purpose:
https://github.com/HubSpot/Rosetta
On Jun 6, 2016 05:45, "krdeepak" [email protected] wrote:

Currently in DAOs we have to pass nested objects of db objects using
separate parameters. Is there any ongoing effort to make @Bindbean
recursive so that we can access nested fields inside DAOs?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jdbi/jdbi/issues/395, or mute the thread
https://github.com/notifications/unsubscribe/AACW5YUZhYR4dt5dxBieFEeM63-baASMks5qJAhegaJpZM4Iu0Fk
.

This will be supported natively in the next Jdbi release. See the @Nested annotation.

Was this page helpful?
0 / 5 - 0 ratings