Mapping Jsonb (postgres) in 6.2.3.Final

Mapping field like:
@JdbcTypeCode(SqlTypes.JSON)
private Map<String, Object> category;

In latest 6.2.3.Final mapping jsonb postgres is wrong, this error
class java.lang.String cannot be cast to class java.util.Map (java.lang.String and java.util.Map

Latest working in 6.1.7.Final

How about you give 6.2.13.Final a try?

Same error
java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.Map (java.lang.String and java.util.Map are in module java.base of loader ‘bootstrap’)

I read that there were changes in working with JSON and Oracle, maybe there was a problem there

Please try to create a reproducer with our test case template (https://github.com/hibernate/hibernate-test-case-templates/blob/master/orm/hibernate-orm-6/src/test/java/org/hibernate/bugs/JPAUnitTestCase.java) and if you are able to reproduce the issue, create a bug ticket in our issue tracker(https://hibernate.atlassian.net) and attach that reproducer.