Desire to use jsonb for payload column in JdbcEventStorageEngine, non-spring setup.
I’ve setup the Jackson serializer okay, and a custom EventTableFactory creates the correct jsonb column type for ddl if no table, however it looks like I’m missing a cast as at the time the psql driver submit the query the paramValue is the serialized json and paramtype is string, which gives " ERROR: column “payload” is of type jsonb but expression is of type character varying". I guess I need to change the sql query value part to (?)::jsonb, but I can’t see how to cleanly do this without override appendEvents in JdbcEventStorageEngine. Am I missing a trick?