# Envers and hibernate-types-52

**URL:** <https://discourse.hibernate.org/t/envers-and-hibernate-types-52/3524>\
**Category:** Hibernate ORM\
**Created:** [December 9, 2019, 4:35pm UTC](https://discourse.hibernate.org/t/envers-and-hibernate-types-52/3524 "2019-12-09T16:35:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuzmin489](https://avatars.discourse-cdn.com/v4/letter/k/85e7bf/32.png) [@Kuzmin489](https://discourse.hibernate.org/u/Kuzmin489)\
**Post date:** [December 9, 2019, 4:35pm UTC](https://discourse.hibernate.org/t/envers-and-hibernate-types-52/3524/1 "2019-12-09T16:35:31Z")

</div>

Hi, I am using hibernate-types-52 for supporting json type for postgresql. It works great until it comes to auditable entities. Should it work out of the box, or need some additional configuration. Currently, I receive `Caused by: javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.MappingException: Could not determine type for: jsonb, at table: some_table_aud, for columns: [org.hibernate.mapping.Column(some_column_json)]` Maybe I am doing something wrong, but seems that it should work. For non auditable entity or columns, it working. Thank you.
