Skip to content

Instantly share code, notes, and snippets.

View vijayparashar12's full-sized avatar

Vijay Parashar vijayparashar12

View GitHub Profile
@vijayparashar12
vijayparashar12 / PostgresJSONBBinding.java
Created March 11, 2019 15:18
Supporting PostgreSQL JSON types in jOOQ using Jackson
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import org.jooq.*;
import org.jooq.impl.DSL;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;