How commits a jsonb attribute to database ?

0
Hello, I am trying to create a generic traceability API and I want to store the collected data in a JSONB column in my database. Unfortunately, we can not have json/jsonb attribute for entities, but is there a way to commit entities with this feature ? Thank you in advance.
asked
3 answers
1

I don't think there's a happy way, you may have to store the JSON structure in a configuration of entities and then you have the flexibility to implement your own features on top of that.

answered
0

Maybe you can store it as an unlimited string and parse it with some java actions when you need that info (to read it I mean)

answered
0

I had thought about this solution, but it does not allow me to do searches/sorts.

answered