JsonbOMSupplier.java

  1. package no.nav.data.common.jpa;

  2. import com.fasterxml.jackson.databind.ObjectMapper;
  3. import io.hypersistence.utils.hibernate.type.util.ObjectMapperSupplier;
  4. import no.nav.data.common.utils.JsonUtils;

  5. public class JsonbOMSupplier implements ObjectMapperSupplier {

  6.     @Override
  7.     public ObjectMapper get() {
  8.         return JsonUtils.getObjectMapper();
  9.     }
  10. }