Hi Adam.
Thanks for your prompt response.

To clarify, It's part of GSoC project to introduce a working proof of
concept to present a new type-safe request processing flow .. not a
production code change or a replacement for the current working API.

For that, I used `JsonNode` datatype from Jackson to represent the JSON
attributes in this `Command` entity here
<https://github.com/Zeyad2003/fineract/blob/004e718db5425fda01d1804867031d3bcddec5fa/custom/v3/command/domain/src/main/java/org/apache/fineract/v3/command/domain/Command.java#L69>
.

It worked with the TEXT column definition... However, @Aleks Vidakovic
suggested using JSONB here
<https://github.com/apache/fineract/pull/3994/#discussion_r1745433126>.

Regards,
Zeyad

On Thu, Sep 5, 2024 at 11:14 PM Ádám Sághy <adamsa...@gmail.com> wrote:

> Hi
>
> Would you elaborate on why you are trying to achieve JSONB support for
> Postgres in Fineract? Since Fineract must support Mysql and MariaDB as
> well, i dont think it is so straightforward…
>
> Regards,
> Adam
>
> On 5 Sep 2024, at 20:37, Zeyad Nasef <zeyad.nasef....@gmail.com> wrote:
>
> Hello everyone,
> I hope you are doing well.
>
> I’m currently working on a JPA entity that needs to store information in
> JSON format using a JSONB column in a PostgreSQL database. While
> researching, I came across several tutorials that rely on the
> hibernate-types dependency from com.vladmihalcea, which is specifically
> designed for Hibernate.
> However, since we exclude the Hibernate group and use EclipseLink instead,
> I’m looking for an alternative approach to map a JSONB column to an entity
> attribute.
>
> Any guidance, code samples, or even pointers to relevant resources would
> be immensely appreciated.
>
> Thank you!
>
>
>

Reply via email to