I want to save following json object into PostgreSQL db table as jsonb
{
"fname":"john",
"lname:"doe",
}
I am currenlty using PGObject to create object and set type to jsonb and pass value as json string
Looking for a better approach with micronaut-data and micronaut Is there any native data type supported in micronaut-data to convert the Java object to JSON and store in db? How to save the data using postgres jdbc driver
typecasting in query using :jsonb is already tried with raw jdbc if it works with micronaut-data / predator how to do it?