|
forum reference: https://forum.hibernate.org/viewtopic.php?f=31&t=1037517&p=2482188
Some options around query/search/sort options either in JPA-QL or other approaches would be good.
If this is portable to a traditional database structure (i.e. a JPA entity with the @AdditionalProperties annotation turns from OGM back to regular hibernate/JPA), even if not that performant, would also be great from a portability point-of-view.
"don't know all attributes in advance and still want to pass them through in a generic fashion" - yes, and while working through it during runtime to be able to define on-the-fly then allow search/sorting on those additional properties. Setting expectations that this would/should be less performant than fully define fields, but at least this is something versus nothing.
|